Search in sources :

Example 1 with AMContainerEventLaunched

use of org.apache.tez.dag.app.rm.container.AMContainerEventLaunched in project tez by apache.

the class ContainerLauncherContextImpl method containerLaunched.

@Override
public void containerLaunched(ContainerId containerId) {
    context.getEventHandler().handle(new AMContainerEventLaunched(containerId));
    ContainerLaunchedEvent lEvt = new ContainerLaunchedEvent(containerId, context.getClock().getTime(), context.getApplicationAttemptId());
    context.getHistoryHandler().handle(new DAGHistoryEvent(null, lEvt));
}
Also used : ContainerLaunchedEvent(org.apache.tez.dag.history.events.ContainerLaunchedEvent) DAGHistoryEvent(org.apache.tez.dag.history.DAGHistoryEvent) AMContainerEventLaunched(org.apache.tez.dag.app.rm.container.AMContainerEventLaunched)

Aggregations

AMContainerEventLaunched (org.apache.tez.dag.app.rm.container.AMContainerEventLaunched)1 DAGHistoryEvent (org.apache.tez.dag.history.DAGHistoryEvent)1 ContainerLaunchedEvent (org.apache.tez.dag.history.events.ContainerLaunchedEvent)1