public class ColumnTruncateTask extends Task<ColumnTruncateWork> implements Serializable, HadoopJobExecHook
Task.FeedType, Task.TaskState| Modifier and Type | Field and Description |
|---|---|
protected org.apache.hadoop.mapred.JobConf |
job |
protected HadoopJobExecHelper |
jobExecHelper |
BACKUP_COMMON_JOIN, backupChildrenTasks, backupTask, childTasks, clonedConf, COMMON_JOIN, conf, console, CONVERTED_MAPJOIN, CONVERTED_MAPJOIN_LOCAL, CONVERTED_SORTMERGEJOIN, driverContext, feedSubscribers, HINTED_MAPJOIN, HINTED_MAPJOIN_LOCAL, id, jobID, LOG, MAPJOIN_ONLY_NOBACKUP, NO_TAG, parentTasks, queryDisplay, queryPlan, queryState, rootTask, taskCounters, taskHandle, taskTag, work| Constructor and Description |
|---|
ColumnTruncateTask() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkFatalErrors(org.apache.hadoop.mapred.Counters ctrs,
StringBuilder errMsg) |
int |
execute(DriverContext driverContext)
This method is overridden in each Task.
|
String |
getName()
Gets the name of the node.
|
org.apache.hadoop.hive.ql.plan.api.StageType |
getType()
Should be overridden to return the type of the specific task among the types in StageType.
|
void |
initialize(QueryState queryState,
QueryPlan queryPlan,
DriverContext driverContext,
CompilationOpContext opContext) |
void |
logPlanProgress(SessionState ss) |
boolean |
requireLock() |
addDependentTask, canExecuteInParallel, cloneConf, done, equals, executeTask, findLeafs, getAndInitBackupTask, getBackupChildrenTasks, getBackupTask, getChildren, getChildTasks, getCounters, getDependentTasks, getDiagnosticsMessage, getDriverContext, getExternalHandle, getFeedSubscribers, getHive, getId, getInitialized, getJobID, getMapWork, getNumChild, getNumParent, getParentTasks, getQueryPlan, getQueryState, getQueued, getReducer, getStatusMessage, getTaskHandle, getTaskState, getTaskTag, getTopOperators, getTxnMgr, getWork, hashCode, hasReduce, isFetchSource, isLocalMode, isMapRedLocalTask, isMapRedTask, isNotInitialized, isRootTask, isRunnable, pushFeed, receiveFeed, removeDependentTask, removeFromChildrenTasks, setBackupChildrenTasks, setBackupTask, setChildTasks, setConf, setConsole, setDiagnosticMessage, setDone, setDriverContext, setException, setFeedSubscribers, setFetchSource, setId, setInitialized, setLocalMode, setParentTasks, setQueryDisplay, setQueryPlan, setQueued, setRootTask, setStarted, setState, setStatusMessage, setTaskTag, setWork, shutdown, started, subscribeFeed, toString, updateStatusInQueryDisplay, updateTaskMetricsprotected transient org.apache.hadoop.mapred.JobConf job
protected HadoopJobExecHelper jobExecHelper
public void initialize(QueryState queryState, QueryPlan queryPlan, DriverContext driverContext, CompilationOpContext opContext)
initialize in class Task<ColumnTruncateWork>public boolean requireLock()
requireLock in class Task<ColumnTruncateWork>public int execute(DriverContext driverContext)
Taskexecute in class Task<ColumnTruncateWork>public String getName()
Nodepublic org.apache.hadoop.hive.ql.plan.api.StageType getType()
TaskgetType in class Task<ColumnTruncateWork>public boolean checkFatalErrors(org.apache.hadoop.mapred.Counters ctrs,
StringBuilder errMsg)
checkFatalErrors in interface HadoopJobExecHookpublic void logPlanProgress(SessionState ss) throws IOException
logPlanProgress in interface HadoopJobExecHookIOExceptionCopyright © 2019 The Apache Software Foundation. All Rights Reserved.