Search in sources :

Example 11 with NodeHeartbeatResponseProtoOrBuilder

use of org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.NodeHeartbeatResponseProtoOrBuilder in project hadoop by apache.

the class NodeHeartbeatResponsePBImpl method getContainerQueuingLimit.

@Override
public ContainerQueuingLimit getContainerQueuingLimit() {
    NodeHeartbeatResponseProtoOrBuilder p = viaProto ? proto : builder;
    if (this.containerQueuingLimit != null) {
        return this.containerQueuingLimit;
    }
    if (!p.hasContainerQueuingLimit()) {
        return null;
    }
    this.containerQueuingLimit = convertFromProtoFormat(p.getContainerQueuingLimit());
    return this.containerQueuingLimit;
}
Also used : NodeHeartbeatResponseProtoOrBuilder(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.NodeHeartbeatResponseProtoOrBuilder)

Aggregations

NodeHeartbeatResponseProtoOrBuilder (org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.NodeHeartbeatResponseProtoOrBuilder)11 ApplicationId (org.apache.hadoop.yarn.api.records.ApplicationId)3 ContainerId (org.apache.hadoop.yarn.api.records.ContainerId)2 ContainerIdProto (org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto)2 ByteBuffer (java.nio.ByteBuffer)1 SignalContainerRequest (org.apache.hadoop.yarn.api.protocolrecords.SignalContainerRequest)1 ApplicationIdProto (org.apache.hadoop.yarn.proto.YarnProtos.ApplicationIdProto)1 ContainerProto (org.apache.hadoop.yarn.proto.YarnProtos.ContainerProto)1 AppCollectorsMapProto (org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.AppCollectorsMapProto)1 SystemCredentialsForAppsProto (org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.SystemCredentialsForAppsProto)1 SignalContainerRequestProto (org.apache.hadoop.yarn.proto.YarnServiceProtos.SignalContainerRequestProto)1