|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hive.ql.exec.Task<StatsWork>
org.apache.hadoop.hive.ql.exec.StatsTask
public class StatsTask
StatsTask implementation.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.hadoop.hive.ql.exec.Task |
|---|
Task.FeedType |
| Field Summary |
|---|
| Fields inherited from class org.apache.hadoop.hive.ql.exec.Task |
|---|
BACKUP_COMMON_JOIN, backupChildrenTasks, backupTask, childTasks, clonedConf, COMMON_JOIN, conf, console, CONVERTED_LOCAL_MAPJOIN, CONVERTED_MAPJOIN, db, driverContext, feedSubscribers, id, initialized, isdone, jobID, LOCAL_MAPJOIN, NO_TAG, parentTasks, queryPlan, queued, started, taskCounters, taskHandle, taskTag, work |
| Constructor Summary | |
|---|---|
StatsTask()
|
|
| Method Summary | |
|---|---|
static void |
cleanUp(String jobID,
org.apache.hadoop.conf.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. |
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 |
localizeMRTmpFilesImpl(Context ctx)
If this task uses any map-reduce intermediate data (either for reading or for writing), localize them (using the supplied Context). |
protected void |
receiveFeed(Task.FeedType feedType,
Object feedValue)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StatsTask()
| Method Detail |
|---|
protected void receiveFeed(Task.FeedType feedType,
Object feedValue)
receiveFeed in class Task<StatsWork>public int execute(DriverContext driverContext)
Task
execute in class Task<StatsWork>public StageType getType()
Task
getType in class Task<StatsWork>public String getName()
Node
getName in interface Nodeprotected void localizeMRTmpFilesImpl(Context ctx)
Task
localizeMRTmpFilesImpl in class Task<StatsWork>ctx - context object with which to localize
public static void cleanUp(String jobID,
org.apache.hadoop.conf.Configuration config)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||