Interface Speculator

All Superinterfaces:
org.apache.hadoop.yarn.event.EventHandler<SpeculatorEvent>
All Known Implementing Classes:
DefaultSpeculator

public interface Speculator extends org.apache.hadoop.yarn.event.EventHandler<SpeculatorEvent>
Speculator component. Task Attempts' status updates are sent to this component. Concrete implementation runs the speculative algorithm and sends the TaskEventType.T_ADD_ATTEMPT. An implementation also has to arrange for the jobs to be scanned from time to time, to launch the speculations.