org.apache.hadoop.mapreduce.v2.app.speculate
Class SpeculatorEvent
java.lang.Object
org.apache.hadoop.yarn.event.AbstractEvent<Speculator.EventType>
org.apache.hadoop.mapreduce.v2.app.speculate.SpeculatorEvent
- All Implemented Interfaces:
- org.apache.hadoop.yarn.event.Event<Speculator.EventType>
public class SpeculatorEvent
- extends org.apache.hadoop.yarn.event.AbstractEvent<Speculator.EventType>
| Methods inherited from class org.apache.hadoop.yarn.event.AbstractEvent |
getTimestamp, getType, toString |
SpeculatorEvent
public SpeculatorEvent(org.apache.hadoop.mapreduce.v2.api.records.JobId jobID,
long timestamp)
SpeculatorEvent
public SpeculatorEvent(TaskAttemptStatusUpdateEvent.TaskAttemptStatus reportedStatus,
long timestamp)
SpeculatorEvent
public SpeculatorEvent(org.apache.hadoop.mapreduce.v2.api.records.TaskAttemptId attemptID,
boolean flag,
long timestamp)
SpeculatorEvent
public SpeculatorEvent(org.apache.hadoop.mapreduce.v2.api.records.TaskId taskID,
int containersNeededChange)
getReportedStatus
public TaskAttemptStatusUpdateEvent.TaskAttemptStatus getReportedStatus()
containersNeededChange
public int containersNeededChange()
getTaskID
public org.apache.hadoop.mapreduce.v2.api.records.TaskId getTaskID()
getJobID
public org.apache.hadoop.mapreduce.v2.api.records.JobId getJobID()
Copyright © 2012 Apache Software Foundation. All Rights Reserved.