public class LegacySpeculator extends Object
| Constructor and Description |
|---|
LegacySpeculator(org.apache.hadoop.conf.Configuration conf,
AppContext context,
Vertex vertex) |
LegacySpeculator(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.util.Clock clock,
Vertex vertex) |
LegacySpeculator(org.apache.hadoop.conf.Configuration conf,
TaskRuntimeEstimator estimator,
org.apache.hadoop.yarn.util.Clock clock,
Vertex vertex) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addSpeculativeAttempt(org.apache.tez.dag.records.TezTaskID taskID) |
int |
getMinimumAllowedSpeculativeTasks() |
double |
getProportionRunningTasksSpeculatable() |
double |
getProportionTotalTasksSpeculatable() |
long |
getSoonestRetryAfterNoSpeculate() |
long |
getSoonestRetryAfterSpeculate() |
void |
handle(SpeculatorEvent event) |
void |
notifyAttemptStarted(org.apache.tez.dag.records.TezTaskAttemptID taId,
long timestamp) |
void |
notifyAttemptStatusUpdate(org.apache.tez.dag.records.TezTaskAttemptID taId,
TaskAttemptState reportedState,
long timestamp) |
public LegacySpeculator(org.apache.hadoop.conf.Configuration conf,
AppContext context,
Vertex vertex)
public LegacySpeculator(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.util.Clock clock,
Vertex vertex)
public LegacySpeculator(org.apache.hadoop.conf.Configuration conf,
TaskRuntimeEstimator estimator,
org.apache.hadoop.yarn.util.Clock clock,
Vertex vertex)
public int getMinimumAllowedSpeculativeTasks()
public double getProportionTotalTasksSpeculatable()
public double getProportionRunningTasksSpeculatable()
public long getSoonestRetryAfterNoSpeculate()
public long getSoonestRetryAfterSpeculate()
public void notifyAttemptStarted(org.apache.tez.dag.records.TezTaskAttemptID taId,
long timestamp)
public void notifyAttemptStatusUpdate(org.apache.tez.dag.records.TezTaskAttemptID taId,
TaskAttemptState reportedState,
long timestamp)
public void handle(SpeculatorEvent event)
protected void addSpeculativeAttempt(org.apache.tez.dag.records.TezTaskID taskID)
Copyright © 2019 Apache Software Foundation. All rights reserved.