Class RMNodeStartedEvent

java.lang.Object
org.apache.hadoop.yarn.event.AbstractEvent<RMNodeEventType>
org.apache.hadoop.yarn.server.resourcemanager.rmnode.RMNodeEvent
org.apache.hadoop.yarn.server.resourcemanager.rmnode.RMNodeStartedEvent
All Implemented Interfaces:
org.apache.hadoop.yarn.event.Event<RMNodeEventType>

public class RMNodeStartedEvent extends RMNodeEvent
  • Constructor Summary

    Constructors
    Constructor
    Description
    RMNodeStartedEvent(org.apache.hadoop.yarn.api.records.NodeId nodeId, List<org.apache.hadoop.yarn.server.api.protocolrecords.NMContainerStatus> containerReports, List<org.apache.hadoop.yarn.api.records.ApplicationId> runningApplications, org.apache.hadoop.yarn.server.api.records.NodeStatus nodeStatus)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<org.apache.hadoop.yarn.server.api.protocolrecords.LogAggregationReport>
     
    List<org.apache.hadoop.yarn.server.api.protocolrecords.NMContainerStatus>
     
    org.apache.hadoop.yarn.server.api.records.NodeStatus
     
    List<org.apache.hadoop.yarn.api.records.ApplicationId>
     
    void
    setLogAggregationReportsForApps(List<org.apache.hadoop.yarn.server.api.protocolrecords.LogAggregationReport> logAggregationReportsForApps)
     

    Methods inherited from class org.apache.hadoop.yarn.server.resourcemanager.rmnode.RMNodeEvent

    getNodeId

    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

    • RMNodeStartedEvent

      public RMNodeStartedEvent(org.apache.hadoop.yarn.api.records.NodeId nodeId, List<org.apache.hadoop.yarn.server.api.protocolrecords.NMContainerStatus> containerReports, List<org.apache.hadoop.yarn.api.records.ApplicationId> runningApplications, org.apache.hadoop.yarn.server.api.records.NodeStatus nodeStatus)
  • Method Details

    • getNMContainerStatuses

      public List<org.apache.hadoop.yarn.server.api.protocolrecords.NMContainerStatus> getNMContainerStatuses()
    • getRunningApplications

      public List<org.apache.hadoop.yarn.api.records.ApplicationId> getRunningApplications()
    • getNodeStatus

      public org.apache.hadoop.yarn.server.api.records.NodeStatus getNodeStatus()
    • getLogAggregationReportsForApps

      public List<org.apache.hadoop.yarn.server.api.protocolrecords.LogAggregationReport> getLogAggregationReportsForApps()
    • setLogAggregationReportsForApps

      public void setLogAggregationReportsForApps(List<org.apache.hadoop.yarn.server.api.protocolrecords.LogAggregationReport> logAggregationReportsForApps)