Class RMContainerReservedEvent

java.lang.Object
org.apache.hadoop.yarn.event.AbstractEvent<RMContainerEventType>
org.apache.hadoop.yarn.server.resourcemanager.rmcontainer.RMContainerEvent
org.apache.hadoop.yarn.server.resourcemanager.rmcontainer.RMContainerReservedEvent
All Implemented Interfaces:
org.apache.hadoop.yarn.event.Event<RMContainerEventType>

public class RMContainerReservedEvent extends RMContainerEvent
The event signifying that a container has been reserved. The event encapsulates information on the amount of reservation and the node on which the reservation is in effect.
  • Constructor Summary

    Constructors
    Constructor
    Description
    RMContainerReservedEvent(org.apache.hadoop.yarn.api.records.ContainerId containerId, org.apache.hadoop.yarn.api.records.Resource reservedResource, org.apache.hadoop.yarn.api.records.NodeId reservedNode, org.apache.hadoop.yarn.server.scheduler.SchedulerRequestKey reservedSchedulerKey)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.hadoop.yarn.api.records.NodeId
     
    org.apache.hadoop.yarn.api.records.Resource
     
    org.apache.hadoop.yarn.server.scheduler.SchedulerRequestKey
     

    Methods inherited from class org.apache.hadoop.yarn.server.resourcemanager.rmcontainer.RMContainerEvent

    getContainerId

    Methods inherited from class org.apache.hadoop.yarn.event.AbstractEvent

    getTimestamp, getType, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • RMContainerReservedEvent

      public RMContainerReservedEvent(org.apache.hadoop.yarn.api.records.ContainerId containerId, org.apache.hadoop.yarn.api.records.Resource reservedResource, org.apache.hadoop.yarn.api.records.NodeId reservedNode, org.apache.hadoop.yarn.server.scheduler.SchedulerRequestKey reservedSchedulerKey)
  • Method Details

    • getReservedResource

      public org.apache.hadoop.yarn.api.records.Resource getReservedResource()
    • getReservedNode

      public org.apache.hadoop.yarn.api.records.NodeId getReservedNode()
    • getReservedSchedulerKey

      public org.apache.hadoop.yarn.server.scheduler.SchedulerRequestKey getReservedSchedulerKey()