appContext, clock, conf, credentials, encryptedShuffle, eventHandler, jobFile, jobToken, nextAttemptNumber, partition, taskAttemptListener| Constructor and Description |
|---|
ReduceTaskImpl(org.apache.hadoop.mapreduce.v2.api.records.JobId jobId,
int partition,
org.apache.hadoop.yarn.event.EventHandler eventHandler,
org.apache.hadoop.fs.Path jobFile,
org.apache.hadoop.mapred.JobConf conf,
int numMapTasks,
TaskAttemptListener taskAttemptListener,
org.apache.hadoop.security.token.Token<org.apache.hadoop.mapreduce.security.token.JobTokenIdentifier> jobToken,
org.apache.hadoop.security.Credentials credentials,
org.apache.hadoop.yarn.util.Clock clock,
int appAttemptId,
MRAppMetrics metrics,
AppContext appContext) |
| Modifier and Type | Method and Description |
|---|---|
protected TaskAttemptImpl |
createAttempt() |
protected int |
getMaxAttempts() |
org.apache.hadoop.mapreduce.v2.api.records.TaskType |
getType() |
canCommit, getAttempt, getAttempts, getCounters, getID, getInternalState, getProgress, getReport, getSplitsAsString, getState, getSuccessfulAttempt, handle, internalError, isFinishedpublic ReduceTaskImpl(org.apache.hadoop.mapreduce.v2.api.records.JobId jobId,
int partition,
org.apache.hadoop.yarn.event.EventHandler eventHandler,
org.apache.hadoop.fs.Path jobFile,
org.apache.hadoop.mapred.JobConf conf,
int numMapTasks,
TaskAttemptListener taskAttemptListener,
org.apache.hadoop.security.token.Token<org.apache.hadoop.mapreduce.security.token.JobTokenIdentifier> jobToken,
org.apache.hadoop.security.Credentials credentials,
org.apache.hadoop.yarn.util.Clock clock,
int appAttemptId,
MRAppMetrics metrics,
AppContext appContext)
protected int getMaxAttempts()
getMaxAttempts in class TaskImplprotected TaskAttemptImpl createAttempt()
createAttempt in class TaskImplpublic org.apache.hadoop.mapreduce.v2.api.records.TaskType getType()
Copyright © 2022 Apache Software Foundation. All rights reserved.