Class CommonHadoop
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.CommonHadoop
-
public class CommonHadoop extends Object
This class define common constants and other methods specific to Hadoop mode.- Since:
- 1.0
- Author:
- Laurent Jourdren
-
-
Field Summary
Fields Modifier and Type Field Description static String
AWS_S3_ACCESS_KEY_ID_PARAM_KEY
static String
AWS_S3_SECRET_ACCESS_KEY_PARAM_NAME
static int
CHECK_COMPLETION_TIME
static String
COUNTER_GROUP_KEY
static String
HADOOP_PARAMETER_PREFIX
static String
HADOOP_REDUCER_TASK_COUNT_PARAMETER_NAME
-
Constructor Summary
Constructors Constructor Description CommonHadoop()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.hadoop.conf.Configuration
createConfiguration()
Create a new Configuration object from Eoulsan runtime settings.static org.apache.hadoop.conf.Configuration
createConfiguration(Settings settings)
Create a new Configuration object from settings.
-
-
-
Field Detail
-
AWS_S3_SECRET_ACCESS_KEY_PARAM_NAME
public static final String AWS_S3_SECRET_ACCESS_KEY_PARAM_NAME
- See Also:
- Constant Field Values
-
AWS_S3_ACCESS_KEY_ID_PARAM_KEY
public static final String AWS_S3_ACCESS_KEY_ID_PARAM_KEY
- See Also:
- Constant Field Values
-
HADOOP_REDUCER_TASK_COUNT_PARAMETER_NAME
public static final String HADOOP_REDUCER_TASK_COUNT_PARAMETER_NAME
- See Also:
- Constant Field Values
-
CHECK_COMPLETION_TIME
public static final int CHECK_COMPLETION_TIME
- See Also:
- Constant Field Values
-
HADOOP_PARAMETER_PREFIX
public static final String HADOOP_PARAMETER_PREFIX
- See Also:
- Constant Field Values
-
COUNTER_GROUP_KEY
public static final String COUNTER_GROUP_KEY
-
-
Method Detail
-
createConfiguration
public static org.apache.hadoop.conf.Configuration createConfiguration()
Create a new Configuration object from Eoulsan runtime settings.- Returns:
- a new Configuration object
-
createConfiguration
public static org.apache.hadoop.conf.Configuration createConfiguration(Settings settings)
Create a new Configuration object from settings.- Parameters:
settings
- Settings of the application- Returns:
- a new Configuration object
-
-