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 |
addContainersToBeRemovedFromNM(List<org.apache.hadoop.yarn.api.records.ContainerId> containers) |
List<org.apache.hadoop.yarn.api.records.ApplicationId> |
getApplicationsToCleanup() |
List<org.apache.hadoop.yarn.api.records.ContainerId> |
getContainersToBeRemovedFromNM() |
List<org.apache.hadoop.yarn.api.records.ContainerId> |
getContainersToCleanup() |
MasterKey |
getContainerTokenMasterKey() |
String |
getDiagnosticsMessage() |
long |
getNextHeartBeatInterval() |
MasterKey |
getNMTokenMasterKey() |
NodeAction |
getNodeAction() |
int |
getResponseId() |
Map<org.apache.hadoop.yarn.api.records.ApplicationId,ByteBuffer> |
getSystemCredentialsForApps() |
void |
setContainerTokenMasterKey(MasterKey secretKey) |
void |
setDiagnosticsMessage(String diagnosticsMessage) |
void |
setNextHeartBeatInterval(long nextHeartBeatInterval) |
void |
setNMTokenMasterKey(MasterKey secretKey) |
void |
setNodeAction(NodeAction action) |
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()
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)
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)
Copyright © 2018 Apache Software Foundation. All Rights Reserved.