org.apache.hadoop.hive.ql.exec.tez
Class TezTask
java.lang.Object
org.apache.hadoop.hive.ql.exec.Task<TezWork>
org.apache.hadoop.hive.ql.exec.tez.TezTask
- All Implemented Interfaces:
- Serializable, Node
public class TezTask
- extends Task<TezWork>
TezTask handles the execution of TezWork. Currently it executes a graph of map and reduce work
using the Tez APIs directly.
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from class org.apache.hadoop.hive.ql.exec.Task |
Task.FeedType |
| Fields inherited from class org.apache.hadoop.hive.ql.exec.Task |
BACKUP_COMMON_JOIN, backupChildrenTasks, backupTask, childTasks, clonedConf, COMMON_JOIN, conf, console, CONVERTED_MAPJOIN, CONVERTED_MAPJOIN_LOCAL, CONVERTED_SORTMERGEJOIN, db, driverContext, feedSubscribers, HINTED_MAPJOIN, HINTED_MAPJOIN_LOCAL, id, initialized, isdone, jobID, LOG, MAPJOIN_ONLY_NOBACKUP, NO_TAG, parentTasks, queryPlan, queued, rootTask, started, taskCounters, taskHandle, taskTag, work |
| Methods inherited from class org.apache.hadoop.hive.ql.exec.Task |
addDependentTask, cloneConf, done, equals, executeTask, getAndInitBackupTask, getBackupChildrenTasks, getBackupTask, getChildren, getChildTasks, getCounters, getDependentTasks, getFeedSubscribers, getId, getInitialized, getJobID, getParentTasks, getQueryPlan, getQueued, getReducer, getResultSchema, getTaskHandle, getTaskTag, getTopOperators, getWork, hashCode, hasReduce, ifRetryCmdWhenFail, initialize, isLocalMode, isMapRedLocalTask, isRootTask, isRunnable, pushFeed, receiveFeed, removeDependentTask, removeFromChildrenTasks, requireLock, setBackupChildrenTasks, setBackupTask, setChildTasks, setConsole, setDone, setFeedSubscribers, setId, setInitialized, setLocalMode, setParentTasks, setQueryPlan, setQueued, setRetryCmdWhenFail, setRootTask, setStarted, setTaskTag, setWork, shutdown, started, subscribeFeed, toString |
TezTask
public TezTask()
TezTask
public TezTask(DagUtils utils)
getTezCounters
public org.apache.tez.common.counters.TezCounters getTezCounters()
execute
public int execute(DriverContext driverContext)
- Description copied from class:
Task
- This method is overridden in each Task. TODO execute should return a TaskHandle.
- Specified by:
execute in class Task<TezWork>
- Returns:
- status of executing the task
isMapRedTask
public boolean isMapRedTask()
- Overrides:
isMapRedTask in class Task<TezWork>
getType
public StageType getType()
- Description copied from class:
Task
- Should be overridden to return the type of the specific task among the types in StageType.
- Specified by:
getType in class Task<TezWork>
- Returns:
- StageType.* or null if not overridden
getName
public String getName()
- Description copied from interface:
Node
- Gets the name of the node. This is used in the rule dispatchers.
- Returns:
- String
Copyright © 2014 The Apache Software Foundation. All rights reserved.