public class StatsTask extends Task<StatsWork> implements java.io.Serializable
Task.FeedTypeBACKUP_COMMON_JOIN, backupChildrenTasks, backupTask, childTasks, clonedConf, COMMON_JOIN, conf, console, CONVERTED_LOCAL_MAPJOIN, CONVERTED_MAPJOIN, CONVERTED_SORTMERGEJOIN, db, driverContext, feedSubscribers, id, initialized, isdone, jobID, LOCAL_MAPJOIN, MAPJOIN_ONLY_NOBACKUP, NO_TAG, parentTasks, queryPlan, queued, started, taskCounters, taskHandle, taskTag, work| Constructor and Description |
|---|
StatsTask() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cleanUp(java.lang.String jobID,
Configuration config)
This method is static as it is called from the shutdown hook at the ExecDriver.
|
int |
execute(DriverContext driverContext)
This method is overridden in each Task.
|
java.lang.String |
getName()
Gets the name of the node.
|
StageType |
getType()
Should be overridden to return the type of the specific task among the types in StageType.
|
protected void |
receiveFeed(Task.FeedType feedType,
java.lang.Object feedValue) |
addDependentTask, cloneConf, done, executeTask, fetch, getAndInitBackupTask, getBackupChildrenTasks, getBackupTask, getChildren, getChildTasks, getCounters, getDependentTasks, getFeedSubscribers, getId, getInitialized, getJobID, getParentTasks, getQueryPlan, getQueued, getReducer, getResultSchema, getTaskHandle, getTaskTag, getTopOperators, getWork, hasReduce, ifRetryCmdWhenFail, initialize, isLocalMode, isMapRedLocalTask, isMapRedTask, isRunnable, pushFeed, removeDependentTask, removeFromChildrenTasks, requireLock, setBackupChildrenTasks, setBackupTask, setChildTasks, setDone, setFeedSubscribers, setId, setInitialized, setLocalMode, setParentTasks, setQueryPlan, setQueued, setRetryCmdWhenFail, setStarted, setTaskTag, setWork, shutdown, started, subscribeFeedprotected void receiveFeed(Task.FeedType feedType, java.lang.Object feedValue)
receiveFeed in class Task<StatsWork>public int execute(DriverContext driverContext)
Taskpublic StageType getType()
Taskpublic java.lang.String getName()
Nodepublic static void cleanUp(java.lang.String jobID,
Configuration config)
Copyright © 2012 The Apache Software Foundation