public class ColumnTruncateTask extends Task<ColumnTruncateWork> implements Serializable, HadoopJobExecHook
Task.FeedType
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, 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
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.
|
StageType |
getType()
Should be overridden to return the type of the specific task among the types in StageType.
|
void |
initialize(HiveConf conf,
QueryPlan queryPlan,
DriverContext driverContext) |
void |
logPlanProgress(SessionState ss) |
boolean |
requireLock() |
addDependentTask, cloneConf, done, equals, executeTask, getAndInitBackupTask, getBackupChildrenTasks, getBackupTask, getChildren, getChildTasks, getCounters, getDependentTasks, getFeedSubscribers, getId, getInitialized, getJobID, getMapWork, getNumChild, getNumParent, getParentTasks, getQueryPlan, getQueued, getReducer, getTaskHandle, getTaskTag, getTopOperators, getWork, hashCode, hasReduce, ifRetryCmdWhenFail, isFetchSource, isLocalMode, isMapRedLocalTask, isMapRedTask, isRootTask, isRunnable, pushFeed, receiveFeed, removeDependentTask, removeFromChildrenTasks, setBackupChildrenTasks, setBackupTask, setChildTasks, setConsole, setDone, setException, setFeedSubscribers, setFetchSource, setId, setInitialized, setLocalMode, setParentTasks, setQueryPlan, setQueued, setRetryCmdWhenFail, setRootTask, setStarted, setTaskTag, setWork, shutdown, started, subscribeFeed, toString
protected transient org.apache.hadoop.mapred.JobConf job
protected HadoopJobExecHelper jobExecHelper
public void initialize(HiveConf conf, QueryPlan queryPlan, DriverContext driverContext)
initialize
in class Task<ColumnTruncateWork>
public boolean requireLock()
requireLock
in class Task<ColumnTruncateWork>
public int execute(DriverContext driverContext)
Task
execute
in class Task<ColumnTruncateWork>
public String getName()
Node
public StageType getType()
Task
getType
in class Task<ColumnTruncateWork>
public boolean checkFatalErrors(org.apache.hadoop.mapred.Counters ctrs, StringBuilder errMsg)
checkFatalErrors
in interface HadoopJobExecHook
public void logPlanProgress(SessionState ss) throws IOException
logPlanProgress
in interface HadoopJobExecHook
IOException
Copyright © 2017 The Apache Software Foundation. All rights reserved.