public class RMNodeStartedEvent extends RMNodeEvent
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
List<org.apache.hadoop.yarn.server.api.protocolrecords.LogAggregationReport> |
getLogAggregationReportsForApps() |
List<org.apache.hadoop.yarn.server.api.protocolrecords.NMContainerStatus> |
getNMContainerStatuses() |
org.apache.hadoop.yarn.server.api.records.NodeStatus |
getNodeStatus() |
List<org.apache.hadoop.yarn.api.records.ApplicationId> |
getRunningApplications() |
void |
setLogAggregationReportsForApps(List<org.apache.hadoop.yarn.server.api.protocolrecords.LogAggregationReport> logAggregationReportsForApps) |
getNodeId
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)
public List<org.apache.hadoop.yarn.server.api.protocolrecords.NMContainerStatus> getNMContainerStatuses()
public List<org.apache.hadoop.yarn.api.records.ApplicationId> getRunningApplications()
public org.apache.hadoop.yarn.server.api.records.NodeStatus getNodeStatus()
public List<org.apache.hadoop.yarn.server.api.protocolrecords.LogAggregationReport> getLogAggregationReportsForApps()
public void setLogAggregationReportsForApps(List<org.apache.hadoop.yarn.server.api.protocolrecords.LogAggregationReport> logAggregationReportsForApps)
Copyright © 2008–2022 Apache Software Foundation. All rights reserved.