public class YarnServerBuilderUtils extends Object
Constructor and Description |
---|
YarnServerBuilderUtils() |
Modifier and Type | Method and Description |
---|---|
static NodeHeartbeatResponse |
newNodeHeartbeatResponse(int responseId,
NodeAction action,
List<org.apache.hadoop.yarn.api.records.ContainerId> containersToCleanUp,
List<org.apache.hadoop.yarn.api.records.ApplicationId> applicationsToCleanUp,
MasterKey containerTokenMasterKey,
MasterKey nmTokenMasterKey,
long nextHeartbeatInterval) |
static NodeHeartbeatResponse |
newNodeHeartbeatResponse(NodeAction action,
String diagnosticsMessage) |
public static NodeHeartbeatResponse newNodeHeartbeatResponse(NodeAction action, String diagnosticsMessage)
public static NodeHeartbeatResponse newNodeHeartbeatResponse(int responseId, NodeAction action, List<org.apache.hadoop.yarn.api.records.ContainerId> containersToCleanUp, List<org.apache.hadoop.yarn.api.records.ApplicationId> applicationsToCleanUp, MasterKey containerTokenMasterKey, MasterKey nmTokenMasterKey, long nextHeartbeatInterval)
Copyright © 2008–2018 Apache Software Foundation. All rights reserved.