com.bigdata.service.mapred
Class AbstractJobAndTaskService.Options

java.lang.Object
  extended by com.bigdata.service.mapred.AbstractJobAndTaskService.Options
Direct Known Subclasses:
MapService.Options, ReduceService.Options
Enclosing class:
AbstractJobAndTaskService<M extends IJobMetadata,T extends ITask>

public static class AbstractJobAndTaskService.Options
extends Object

Options for AbstractJobAndTaskService.AbstractJobAndTaskService(Properties)

Version:
$Id: AbstractJobAndTaskService.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson

Field Summary
static String DEFAULT_HEARTBEAT_PERIOD
          The default period between runs of the HeartbeatMonitorTask (1000ms).
static String DEFAULT_HEARTBEAT_TIMEOUT
          The default maximum heartbeat timeout (3000ms).
static String DEFAULT_THREAD_POOL_SIZE
          The default thread pool size is 50 per CPU.
static String HEARTBEAT_PERIOD
          The period between runs of the HeartbeatMonitorTask (it looks for jobs that have not received a heartbeat).
static String HEARTBEAT_TIMEOUT
          The maximum time that a job may continue to run without receiving a heartbeat message (default is 3000ms).
static String THREAD_POOL_SIZE
          The thread pool size (#of workers).
 
Constructor Summary
AbstractJobAndTaskService.Options()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

THREAD_POOL_SIZE

public static final String THREAD_POOL_SIZE
The thread pool size (#of workers). The default is a constant multiplier times the #of CPUs available on the platform.

See Also:
DEFAULT_THREAD_POOL_SIZE, Constant Field Values

DEFAULT_THREAD_POOL_SIZE

public static final String DEFAULT_THREAD_POOL_SIZE
The default thread pool size is 50 per CPU.


HEARTBEAT_TIMEOUT

public static final String HEARTBEAT_TIMEOUT
The maximum time that a job may continue to run without receiving a heartbeat message (default is 3000ms). A value of ZERO (0L) will disable the HeartbeatMonitorTask.

See Also:
Constant Field Values

DEFAULT_HEARTBEAT_TIMEOUT

public static final String DEFAULT_HEARTBEAT_TIMEOUT
The default maximum heartbeat timeout (3000ms).

See Also:
Constant Field Values

HEARTBEAT_PERIOD

public static final String HEARTBEAT_PERIOD
The period between runs of the HeartbeatMonitorTask (it looks for jobs that have not received a heartbeat).

See Also:
Constant Field Values

DEFAULT_HEARTBEAT_PERIOD

public static final String DEFAULT_HEARTBEAT_PERIOD
The default period between runs of the HeartbeatMonitorTask (1000ms).

See Also:
Constant Field Values
Constructor Detail

AbstractJobAndTaskService.Options

public AbstractJobAndTaskService.Options()


Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.