(YarnServerCommonServiceProtos.RegisterNodeManagerRequestProto) proto),
rpc.getRPCId());
}
break;
case NodeHeartbeat:
<BUG>if (!rmContext.isDistributedEnabled()) {
proto = YarnServerCommonServiceProtos.NodeHeartbeatRequestProto.</BUG>
parseFrom(rpc.getRpc());
resourceTracker.nodeHeartbeat(new NodeHeartbeatRequestPBImpl(
(YarnServerCommonServiceProtos.NodeHeartbeatRequestProto) proto),

(YarnServerCommonServiceProtos.RegisterNodeManagerRequestProto) proto),
rpc.getRPCId());
}
break;
case NodeHeartbeat:
if (!rmContext.isDistributedEnabled() || rmContext.getGroupMembershipService().isAlone()) {
proto = YarnServerCommonServiceProtos.NodeHeartbeatRequestProto.
parseFrom(rpc.getRpc());
resourceTracker.nodeHeartbeat(new NodeHeartbeatRequestPBImpl(
(YarnServerCommonServiceProtos.NodeHeartbeatRequestProto) proto),
