public override NodeState GetNodeState() { YarnProtos.NodeReportProtoOrBuilder p = viaProto ? proto : builder; if (!p.HasNodeState()) { return(null); } return(ProtoUtils.ConvertFromProtoFormat(p.GetNodeState())); }
private void InitApplicationACLs() { if (this.applicationACLS != null) { return; } YarnProtos.ContainerLaunchContextProtoOrBuilder p = viaProto ? proto : builder; IList <YarnProtos.ApplicationACLMapProto> list = p.GetApplicationACLsList(); this.applicationACLS = new Dictionary <ApplicationAccessType, string>(list.Count); foreach (YarnProtos.ApplicationACLMapProto aclProto in list) { this.applicationACLS[ProtoUtils.ConvertFromProtoFormat(aclProto.GetAccessType())] = aclProto.GetAcl(); } }
private FinalApplicationStatus ConvertFromProtoFormat(YarnProtos.FinalApplicationStatusProto s) { return(ProtoUtils.ConvertFromProtoFormat(s)); }
private YarnApplicationState ConvertFromProtoFormat(YarnProtos.YarnApplicationStateProto s) { return(ProtoUtils.ConvertFromProtoFormat(s)); }
private ApplicationResourceUsageReport ConvertFromProtoFormat(YarnProtos.ApplicationResourceUsageReportProto s) { return(ProtoUtils.ConvertFromProtoFormat(s)); }
private ContainerState ConvertFromProtoFormat(YarnProtos.ContainerStateProto containerState ) { return(ProtoUtils.ConvertFromProtoFormat(containerState)); }
private ReservationRequestInterpreter ConvertFromProtoFormat(YarnProtos.ReservationRequestInterpreterProto r) { return(ProtoUtils.ConvertFromProtoFormat(r)); }
private QueueState ConvertFromProtoFormat(YarnProtos.QueueStateProto q) { return(ProtoUtils.ConvertFromProtoFormat(q)); }
protected internal ByteBuffer ConvertFromProtoFormat(ByteString byteString) { return(ProtoUtils.ConvertFromProtoFormat(byteString)); }
private YarnApplicationAttemptState ConvertFromProtoFormat(YarnProtos.YarnApplicationAttemptStateProto yarnApplicationAttemptState) { return(ProtoUtils.ConvertFromProtoFormat(yarnApplicationAttemptState)); }
private LocalResourceVisibility ConvertFromProtoFormat(YarnProtos.LocalResourceVisibilityProto e) { return(ProtoUtils.ConvertFromProtoFormat(e)); }
private LocalResourceType ConvertFromProtoFormat(YarnProtos.LocalResourceTypeProto e) { return(ProtoUtils.ConvertFromProtoFormat(e)); }