public class HadoopConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
static boolean |
DFLT_EXTERNAL_EXECUTION
Default value for external execution flag.
|
static long |
DFLT_FINISHED_JOB_INFO_TTL
Default finished job info time-to-live.
|
static int |
DFLT_MAX_PARALLEL_TASKS
Default value for the max parallel tasks.
|
static int |
DFLT_MAX_TASK_QUEUE_SIZE
Default value for the max task queue size.
|
Constructor and Description |
---|
HadoopConfiguration()
Default constructor.
|
HadoopConfiguration(HadoopConfiguration cfg)
Copy constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
getFinishedJobInfoTtl()
Gets finished job info time-to-live in milliseconds.
|
HadoopMapReducePlanner |
getMapReducePlanner()
Gets Hadoop map-reduce planner, a component which defines job execution plan based on job
configuration and current grid topology.
|
int |
getMaxParallelTasks()
Gets max number of local tasks that may be executed in parallel.
|
int |
getMaxTaskQueueSize()
Gets max task queue size.
|
void |
setFinishedJobInfoTtl(long finishedJobInfoTtl)
Sets finished job info time-to-live.
|
void |
setMapReducePlanner(HadoopMapReducePlanner planner)
Sets Hadoop map-reduce planner, a component which defines job execution plan based on job
configuration and current grid topology.
|
void |
setMaxParallelTasks(int maxParallelTasks)
Sets max number of local tasks that may be executed in parallel.
|
void |
setMaxTaskQueueSize(int maxTaskQueueSize)
Sets max task queue size.
|
String |
toString() |
public static final long DFLT_FINISHED_JOB_INFO_TTL
public static final boolean DFLT_EXTERNAL_EXECUTION
public static final int DFLT_MAX_PARALLEL_TASKS
public static final int DFLT_MAX_TASK_QUEUE_SIZE
public HadoopConfiguration()
public HadoopConfiguration(HadoopConfiguration cfg)
cfg
- Configuration to copy.public int getMaxParallelTasks()
public void setMaxParallelTasks(int maxParallelTasks)
maxParallelTasks
- Max number of local tasks that may be executed in parallel.public int getMaxTaskQueueSize()
public void setMaxTaskQueueSize(int maxTaskQueueSize)
maxTaskQueueSize
- Max task queue size.public long getFinishedJobInfoTtl()
public void setFinishedJobInfoTtl(long finishedJobInfoTtl)
finishedJobInfoTtl
- Finished job info time-to-live.public HadoopMapReducePlanner getMapReducePlanner()
public void setMapReducePlanner(HadoopMapReducePlanner planner)
planner
- Map-reduce planner.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0 Release Date : March 31 2015