Class MainHadoop
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.Main
-
- fr.ens.biologie.genomique.eoulsan.MainHadoop
-
public final class MainHadoop extends Main
Main class in Hadoop mode.- Since:
- 1.0
- Author:
- Laurent Jourdren
-
-
Field Summary
-
Fields inherited from class fr.ens.biologie.genomique.eoulsan.Main
EOULSAN_CLASSPATH_JVM_ARG, EOULSAN_MEMORY, EOULSAN_PATH, EOULSAN_SCRIPT
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MainHadoop(String[] args)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getHelpEoulsanCommand()
Get the command used to launch Eoulsan.protected Handler
getLogHandler(URI logFile)
Get the Handler to create the log file.protected void
initializeRuntime(Settings settings)
Initialize the Eoulsan runtime.protected void
sysInfoLog()
Log system information.-
Methods inherited from class fr.ens.biologie.genomique.eoulsan.Main
createLogFileAndFlushLog, createLogFiles, createOtherLog, flushLog, getAction, getActionArgs, getArgs, getClassPath, getCommandLineSettings, getConfigurationFileArgument, getEoulsanDirectory, getEoulsanMemory, getEoulsanScriptPath, getInstance, getJavaExecutablePath, getJVMArgs, getLaunchMode, getLaunchScriptPath, getLogFileArgument, getLogLevelArgument, help, main, makeOptions
-
-
-
-
Constructor Detail
-
MainHadoop
protected MainHadoop(String[] args)
Constructor.- Parameters:
args
- command line arguments
-
-
Method Detail
-
initializeRuntime
protected void initializeRuntime(Settings settings)
Description copied from class:Main
Initialize the Eoulsan runtime.- Specified by:
initializeRuntime
in classMain
-
getHelpEoulsanCommand
protected String getHelpEoulsanCommand()
Description copied from class:Main
Get the command used to launch Eoulsan.- Specified by:
getHelpEoulsanCommand
in classMain
- Returns:
- a String with the command used to launch Eoulsan
-
getLogHandler
protected Handler getLogHandler(URI logFile) throws IOException
Description copied from class:Main
Get the Handler to create the log file.- Specified by:
getLogHandler
in classMain
- Parameters:
logFile
- the path to the log file- Returns:
- a new Handler object
- Throws:
IOException
- if an exception occurs while creating the handler
-
sysInfoLog
protected void sysInfoLog()
Description copied from class:Main
Log system information.- Overrides:
sysInfoLog
in classMain
-
-