public interface NodeHeartbeatResponse
Modifier and Type | Method and Description |
---|---|
void |
addAllApplicationsToCleanup(List<org.apache.hadoop.yarn.api.records.ApplicationId> applications) |
void |
addAllContainersToCleanup(List<org.apache.hadoop.yarn.api.records.ContainerId> containers) |
void |
addAllContainersToDecrease(Collection<org.apache.hadoop.yarn.api.records.Container> containersToDecrease) |
void |
addAllContainersToSignal(List<org.apache.hadoop.yarn.api.protocolrecords.SignalContainerRequest> containers) |
void |
addAllContainersToUpdate(Collection<org.apache.hadoop.yarn.api.records.Container> containersToUpdate) |
void |
addContainersToBeRemovedFromNM(List<org.apache.hadoop.yarn.api.records.ContainerId> containers) |
Map<org.apache.hadoop.yarn.api.records.ApplicationId,AppCollectorData> |
getAppCollectors() |
List<org.apache.hadoop.yarn.api.records.ApplicationId> |
getApplicationsToCleanup() |
boolean |
getAreNodeLabelsAcceptedByRM() |
ContainerQueuingLimit |
getContainerQueuingLimit() |
List<org.apache.hadoop.yarn.api.records.ContainerId> |
getContainersToBeRemovedFromNM() |
List<org.apache.hadoop.yarn.api.records.ContainerId> |
getContainersToCleanup() |
List<org.apache.hadoop.yarn.api.records.Container> |
getContainersToDecrease() |
List<org.apache.hadoop.yarn.api.protocolrecords.SignalContainerRequest> |
getContainersToSignalList() |
List<org.apache.hadoop.yarn.api.records.Container> |
getContainersToUpdate() |
MasterKey |
getContainerTokenMasterKey() |
String |
getDiagnosticsMessage() |
long |
getNextHeartBeatInterval() |
MasterKey |
getNMTokenMasterKey() |
NodeAction |
getNodeAction() |
org.apache.hadoop.yarn.api.records.Resource |
getResource() |
int |
getResponseId() |
Map<org.apache.hadoop.yarn.api.records.ApplicationId,ByteBuffer> |
getSystemCredentialsForApps() |
void |
setAppCollectors(Map<org.apache.hadoop.yarn.api.records.ApplicationId,AppCollectorData> appCollectorsMap) |
void |
setAreNodeLabelsAcceptedByRM(boolean areNodeLabelsAcceptedByRM) |
void |
setContainerQueuingLimit(ContainerQueuingLimit containerQueuingLimit) |
void |
setContainerTokenMasterKey(MasterKey secretKey) |
void |
setDiagnosticsMessage(String diagnosticsMessage) |
void |
setNextHeartBeatInterval(long nextHeartBeatInterval) |
void |
setNMTokenMasterKey(MasterKey secretKey) |
void |
setNodeAction(NodeAction action) |
void |
setResource(org.apache.hadoop.yarn.api.records.Resource resource) |
void |
setResponseId(int responseId) |
void |
setSystemCredentialsForApps(Map<org.apache.hadoop.yarn.api.records.ApplicationId,ByteBuffer> systemCredentials) |
int getResponseId()
NodeAction getNodeAction()
List<org.apache.hadoop.yarn.api.records.ContainerId> getContainersToCleanup()
List<org.apache.hadoop.yarn.api.records.ContainerId> getContainersToBeRemovedFromNM()
List<org.apache.hadoop.yarn.api.records.ApplicationId> getApplicationsToCleanup()
Map<org.apache.hadoop.yarn.api.records.ApplicationId,AppCollectorData> getAppCollectors()
void setAppCollectors(Map<org.apache.hadoop.yarn.api.records.ApplicationId,AppCollectorData> appCollectorsMap)
void setResponseId(int responseId)
void setNodeAction(NodeAction action)
MasterKey getContainerTokenMasterKey()
void setContainerTokenMasterKey(MasterKey secretKey)
MasterKey getNMTokenMasterKey()
void setNMTokenMasterKey(MasterKey secretKey)
void addAllContainersToCleanup(List<org.apache.hadoop.yarn.api.records.ContainerId> containers)
void addContainersToBeRemovedFromNM(List<org.apache.hadoop.yarn.api.records.ContainerId> containers)
void addAllApplicationsToCleanup(List<org.apache.hadoop.yarn.api.records.ApplicationId> applications)
List<org.apache.hadoop.yarn.api.protocolrecords.SignalContainerRequest> getContainersToSignalList()
void addAllContainersToSignal(List<org.apache.hadoop.yarn.api.protocolrecords.SignalContainerRequest> containers)
long getNextHeartBeatInterval()
void setNextHeartBeatInterval(long nextHeartBeatInterval)
String getDiagnosticsMessage()
void setDiagnosticsMessage(String diagnosticsMessage)
Map<org.apache.hadoop.yarn.api.records.ApplicationId,ByteBuffer> getSystemCredentialsForApps()
void setSystemCredentialsForApps(Map<org.apache.hadoop.yarn.api.records.ApplicationId,ByteBuffer> systemCredentials)
boolean getAreNodeLabelsAcceptedByRM()
void setAreNodeLabelsAcceptedByRM(boolean areNodeLabelsAcceptedByRM)
org.apache.hadoop.yarn.api.records.Resource getResource()
void setResource(org.apache.hadoop.yarn.api.records.Resource resource)
List<org.apache.hadoop.yarn.api.records.Container> getContainersToUpdate()
void addAllContainersToUpdate(Collection<org.apache.hadoop.yarn.api.records.Container> containersToUpdate)
List<org.apache.hadoop.yarn.api.records.Container> getContainersToDecrease()
void addAllContainersToDecrease(Collection<org.apache.hadoop.yarn.api.records.Container> containersToDecrease)
ContainerQueuingLimit getContainerQueuingLimit()
void setContainerQueuingLimit(ContainerQueuingLimit containerQueuingLimit)
Copyright © 2020 Apache Software Foundation. All rights reserved.