The only user interface of Eoulsan is the command line. The syntax and the available options can be get using the following command :
$ eoulsan.sh -h
The program show you the following output:
usage: eoulsan [options] action arguments -about display information about this software -conf <file> configuration file to use -h,--help display this help -j <path> JAVA_HOME path -J <args> JVM arguments (-server by default) -license display information about the license of this software -log <file> external log file -loglevel <level> log level -m <size> maximal memory usage for JVM in MB (4096 by default) -p <classpath> additional classpath for eoulsan plugins -s <property=value> set a configuration setting. This option can be used several times -version show version of the software Available actions: - emrexec execute eoulsan on Amazon Elastic MapReduce service. - createdesign create a design file from a list of files. - createhadoopjar create a jar file for hadoop with all dependencies include. - exec execute Eoulsan in local mode. - hadoopexec execute Eoulsan on local hadoop cluster.
Actually, Eoulsan has 5 available actions:
You can display general help and specific help about an action using -h argument.
When you run Eoulsan with this option, you will get information about Eoulsan authors and then returns to the shell.
With this option, Eoulsan will load the file as configuration file. See the configuration section for more information.
With this option, Eoulsan will set a specific setting. Usage of this option override settings loaded in configuration file. Key and value of the setting are separated by the '=' character. This option can be used several times in command line. See the configuration section for more information.
When you run Eoulsan with this option, you will get information about Eoulsan license and and then returns to the shell.
Set the log level, there are 5 log level define in Eoulsan : Severe, Warning, Info, Fine and all. By default the log level is set to Info.
In order to avoid modify the eoulsan.sh file, you use the following environment variable to configure Eoulsan JVM and plugins path: