Exemplo n.º 1
0
 public override void Transition(RMContainerImpl container, RMContainerEvent @event
                                 )
 {
     // Unregister from containerAllocationExpirer.
     container.containerAllocationExpirer.Unregister(container.GetContainerId());
     // Inform AppAttempt
     base.Transition(container, @event);
 }
Exemplo n.º 2
0
 public override void Transition(RMContainerImpl container, RMContainerEvent @event
                                 )
 {
     // Unregister from containerAllocationExpirer.
     container.containerAllocationExpirer.Unregister(container.GetContainerId());
     // Inform node
     container.eventHandler.Handle(new RMNodeCleanContainerEvent(container.nodeId, container
                                                                 .containerId));
     // Inform appAttempt
     base.Transition(container, @event);
 }
Exemplo n.º 3
0
 public override void Transition(RMContainerImpl container, RMContainerEvent @event
                                 )
 {
     // Clear ResourceRequest stored in RMContainer
     container.SetResourceRequests(null);
     // Register with containerAllocationExpirer.
     container.containerAllocationExpirer.Register(container.GetContainerId());
     // Tell the app
     container.eventHandler.Handle(new RMAppRunningOnNodeEvent(container.GetApplicationAttemptId
                                                                   ().GetApplicationId(), container.nodeId));
 }
Exemplo n.º 4
0
 public override void Transition(RMContainerImpl container, RMContainerEvent @event
                                 )
 {
     // Unregister from containerAllocationExpirer.
     container.containerAllocationExpirer.Unregister(container.GetContainerId());
 }