|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.mapreduce.v2.app.speculate.NullTaskRuntimesEngine
public class NullTaskRuntimesEngine
| Constructor Summary | |
|---|---|
NullTaskRuntimesEngine()
|
|
| Method Summary | |
|---|---|
long |
attemptEnrolledTime(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId attemptID)
|
void |
contextualize(org.apache.hadoop.conf.Configuration conf,
AppContext context)
|
void |
enrollAttempt(TaskAttemptStatusUpdateEvent.TaskAttemptStatus status,
long timestamp)
|
long |
estimatedNewAttemptRuntime(org.apache.hadoop.mapreduce.v2.api.records.TaskId id)
Estimates how long a new attempt on this task will take if we start one now |
long |
estimatedRuntime(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId id)
Estimate a task attempt's total runtime. |
long |
runtimeEstimateVariance(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId id)
Computes the width of the error band of our estimate of the task runtime as returned by TaskRuntimeEstimator.estimatedRuntime(TaskAttemptId) |
long |
thresholdRuntime(org.apache.hadoop.mapreduce.v2.api.records.TaskId id)
Find a maximum reasonable execution wallclock time. |
void |
updateAttempt(TaskAttemptStatusUpdateEvent.TaskAttemptStatus status,
long timestamp)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullTaskRuntimesEngine()
| Method Detail |
|---|
public void enrollAttempt(TaskAttemptStatusUpdateEvent.TaskAttemptStatus status,
long timestamp)
enrollAttempt in interface TaskRuntimeEstimatorpublic long attemptEnrolledTime(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId attemptID)
attemptEnrolledTime in interface TaskRuntimeEstimator
public void updateAttempt(TaskAttemptStatusUpdateEvent.TaskAttemptStatus status,
long timestamp)
updateAttempt in interface TaskRuntimeEstimator
public void contextualize(org.apache.hadoop.conf.Configuration conf,
AppContext context)
contextualize in interface TaskRuntimeEstimatorpublic long thresholdRuntime(org.apache.hadoop.mapreduce.v2.api.records.TaskId id)
TaskRuntimeEstimator
thresholdRuntime in interface TaskRuntimeEstimatorid - the TaskId of the task we are asking about
public long estimatedRuntime(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId id)
TaskRuntimeEstimator
estimatedRuntime in interface TaskRuntimeEstimatorid - the TaskAttemptId of the attempt we are asking about
-1 if
we don't have enough information yet to produce an estimate.public long estimatedNewAttemptRuntime(org.apache.hadoop.mapreduce.v2.api.records.TaskId id)
TaskRuntimeEstimator
estimatedNewAttemptRuntime in interface TaskRuntimeEstimatorid - the TaskId of the task we are asking about
-1 if
we don't have enough information yet to produce an estimate.public long runtimeEstimateVariance(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId id)
TaskRuntimeEstimatorTaskRuntimeEstimator.estimatedRuntime(TaskAttemptId)
runtimeEstimateVariance in interface TaskRuntimeEstimatorid - the TaskAttemptId of the attempt we are asking about
-1 if
we don't have enough information yet to produce an estimate.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||