Skip to content

swtor-xing/eros

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Eros System

alt text

Eros is a system based on producer and consumer mode.
It defines the frame and user only care about how to produce and consume.

Packaging/release artifacts

All the source files which can be built by running:

  maven clean install -DskipTests 

And then you can find in tool-package/target directory after building the project with maven.

  eros-[version].tar.gz

Quick Start Guide

This quick start guide goes over how to run Eros on a local machine. The guide will cover the following tasks:

  • Set up eros environment
  • Perform basic tasks via Eros Shell
  • Stop Eros
1. Set up

The only thing, you should do, unpack the compressed package via command 'tar'.

  $ tar -zvxf eros-[version].tar.gz
  $ cd eros/bin
2. Eros Shell

Running start command:

  ./eros shell

Start your job:

  eros> dmaker create -j firstJob -t local -c /data1/eros/conf/eros-dmaker-create-local.xml 

Help command can work if you are interest in command details:

  eros> help dmaker
        dmaker  [create]
		    -j	--job-name	job name
		    -c	--conf	configuration
		    -t	--job-type	type
		    -p	--print-detail	print job detail

This job status will be show while you execute command as follow:

  eros> dmaker status -j firstJob -t local
  Job<type=local, name=firstJob>
  
  --------------------------------------------------------------------------------------------------------------------------------
                                                             ITEMS	|	VALUES                                                          
  --------------------------------------------------------------------------------------------------------------------------------
                                                 Running producers	|	2                                                               
                                                 Running consumers	|	2                                                               
                     Escaped Time(01-13 21:03:55 ~ 01-13 21:04:06)	|	11022ms                                                         
                                                   Produced number	|	39573665                                                        
                                                   Consumed number	|	39573678                                                        
                                                   Used file count	|	40                                                              
  --------------------------------------------------------------------------------------------------------------------------------
3. Stop

Ctrl+C or Ctrl+D can work, but we suggest you execute 'quit' command on eros-terminal.


Contributing

We always welcome new contributors to the project! We need friends!

About

producer/consumer mode, common module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published