com.bigdata.service.mapred
Class ReduceService
java.lang.Object
com.bigdata.service.mapred.AbstractJobAndTaskService<ReduceJobMetadata,AbstractReduceTask>
com.bigdata.service.mapred.ReduceService
- All Implemented Interfaces:
- IServiceShutdown, IJobAndTaskService<ReduceJobMetadata,AbstractReduceTask>, IReduceService, Remote
- Direct Known Subclasses:
- ReduceServer.AdministrableReduceService, ReduceService.EmbeddedReduceService
public abstract class ReduceService
- extends AbstractJobAndTaskService<ReduceJobMetadata,AbstractReduceTask>
- implements IServiceShutdown, IReduceService
A service for IReduceTask processing. Those tasks are distributed by
the Master.
- Version:
- $Id: ReduceService.java 2265 2009-10-26 12:51:06Z thompsonbry $
- Author:
- Bryan Thompson
|
Field Summary |
static org.apache.log4j.Logger |
log
|
| Fields inherited from class com.bigdata.service.mapred.AbstractJobAndTaskService |
cancelService, ERR_JOB_EXISTS, ERR_NO_JOB_IDENTIFIER, ERR_NO_SUCH_JOB, heartbeatMonitor, heartbeatPeriod, heartbeatTimeout, jobs, taskService, threadPoolSize, timeoutService |
| Methods inherited from class com.bigdata.service.mapred.AbstractJobAndTaskService |
cancel, cancelJob, destroy, drain, getBigdataClient, heartbeat, isOpen, newJobState, shutdown, shutdownNow, startJob, submit |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
public static final transient org.apache.log4j.Logger log
ReduceService
public ReduceService(Properties properties)
- Parameters:
properties - See ReduceService.Options.
newTaskWorker
protected AbstractJobAndTaskService.AbstractTaskWorker<ReduceJobMetadata,AbstractReduceTask> newTaskWorker(JobState<ReduceJobMetadata> jobState,
AbstractReduceTask task)
- Returns instances of
ReduceService.ReduceTaskWorker.
- Specified by:
newTaskWorker in class AbstractJobAndTaskService<ReduceJobMetadata,AbstractReduceTask>
- Parameters:
jobState - The job state maintained by this service.task - The task to be executed.
- Returns:
- The worker that will execute a given task.
Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.