@InterfaceAudience.Private @InterfaceStability.Unstable public class ProtoUtils extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static org.apache.hadoop.thirdparty.com.google.common.collect.Interner<org.apache.hadoop.thirdparty.protobuf.ByteString> | BYTE_STRING_INTERNER | 
| Constructor and Description | 
|---|
| ProtoUtils() | 
| Modifier and Type | Method and Description | 
|---|---|
| static ByteBuffer | convertFromProtoFormat(org.apache.hadoop.thirdparty.protobuf.ByteString byteString) | 
| static org.apache.hadoop.yarn.api.records.AMCommand | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.AMCommandProto e) | 
| static org.apache.hadoop.yarn.api.records.ApplicationAccessType | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ApplicationAccessTypeProto e) | 
| static ApplicationIdPBImpl | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ApplicationIdProto p) | 
| static org.apache.hadoop.yarn.api.records.ApplicationResourceUsageReport | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ApplicationResourceUsageReportProto e) | 
| static org.apache.hadoop.yarn.api.records.ApplicationTimeoutType | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ApplicationTimeoutTypeProto e) | 
| static ContainerIdPBImpl | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto p) | 
| static ContainerPBImpl | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ContainerProto t) | 
| static org.apache.hadoop.yarn.api.records.ContainerRetryPolicy | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ContainerRetryPolicyProto e) | 
| static org.apache.hadoop.yarn.api.records.ContainerState | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ContainerStateProto proto) | 
| static ContainerStatusPBImpl | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ContainerStatusProto p) | 
| static org.apache.hadoop.yarn.api.records.ContainerSubState | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ContainerSubStateProto proto) | 
| static org.apache.hadoop.yarn.server.api.ContainerType | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ContainerTypeProto e) | 
| static org.apache.hadoop.yarn.api.records.ExecutionType | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ExecutionTypeProto e) | 
| static org.apache.hadoop.yarn.api.records.ExecutionTypeRequest | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ExecutionTypeRequestProto e) | 
| static org.apache.hadoop.yarn.api.records.FinalApplicationStatus | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.FinalApplicationStatusProto e) | 
| static org.apache.hadoop.yarn.api.records.LocalResourceType | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.LocalResourceTypeProto e) | 
| static org.apache.hadoop.yarn.api.records.LocalResourceVisibility | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.LocalResourceVisibilityProto e) | 
| static org.apache.hadoop.yarn.api.records.LogAggregationStatus | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.LogAggregationStatusProto e) | 
| static org.apache.hadoop.yarn.api.records.NodeId | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.NodeIdProto e) | 
| static org.apache.hadoop.yarn.api.records.NodeState | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.NodeStateProto e) | 
| static org.apache.hadoop.yarn.api.records.NodeUpdateType | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.NodeUpdateTypeProto e) | 
| static org.apache.hadoop.yarn.api.resource.PlacementConstraint.TargetExpression.TargetType | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.PlacementConstraintTargetProto.TargetType t) | 
| static org.apache.hadoop.yarn.api.records.QueueACL | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.QueueACLProto e) | 
| static org.apache.hadoop.yarn.api.records.QueueState | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.QueueStateProto e) | 
| static org.apache.hadoop.yarn.api.records.RejectionReason | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.RejectionReasonProto e) | 
| static org.apache.hadoop.yarn.api.records.ReservationRequestInterpreter | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ReservationRequestInterpreterProto e) | 
| static org.apache.hadoop.yarn.api.records.Resource | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ResourceProto resource) | 
| static org.apache.hadoop.yarn.api.protocolrecords.ResourceTypes | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ResourceTypesProto e) | 
| static org.apache.hadoop.yarn.api.resource.PlacementConstraint.TimedPlacementConstraint.DelayUnit | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.TimedPlacementConstraintProto.DelayUnit u) | 
| static org.apache.hadoop.yarn.api.records.YarnApplicationAttemptState | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.YarnApplicationAttemptStateProto e) | 
| static org.apache.hadoop.yarn.api.records.YarnApplicationState | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.YarnApplicationStateProto e) | 
| static org.apache.hadoop.yarn.api.protocolrecords.ApplicationsRequestScope | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnServiceProtos.ApplicationsRequestScopeProto e) | 
| static org.apache.hadoop.yarn.api.records.ContainerUpdateType | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnServiceProtos.ContainerUpdateTypeProto e) | 
| static org.apache.hadoop.yarn.api.records.LocalizationState | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnServiceProtos.LocalizationStateProto e) | 
| static UpdateContainerErrorPBImpl | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnServiceProtos.UpdateContainerErrorProto p) | 
| static UpdateContainerRequestPBImpl | convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnServiceProtos.UpdateContainerRequestProto p) | 
| static List<org.apache.hadoop.yarn.proto.YarnProtos.StringFloatMapProto> | convertMapToStringFloatMapProtoList(Map<String,Float> map) | 
| static List<org.apache.hadoop.yarn.proto.YarnProtos.StringLongMapProto> | convertMapToStringLongMapProtoList(Map<String,Long> map) | 
| static org.apache.hadoop.yarn.proto.YarnProtos.ResourceTypesProto | converToProtoFormat(org.apache.hadoop.yarn.api.protocolrecords.ResourceTypes e) | 
| static Map<String,Float> | convertStringFloatMapProtoListToMap(List<org.apache.hadoop.yarn.proto.YarnProtos.StringFloatMapProto> pList) | 
| static Map<String,Long> | convertStringLongMapProtoListToMap(List<org.apache.hadoop.yarn.proto.YarnProtos.StringLongMapProto> pList) | 
| static Map<String,String> | convertStringStringMapProtoListToMap(List<org.apache.hadoop.yarn.proto.YarnProtos.StringStringMapProto> pList) | 
| static org.apache.hadoop.yarn.proto.YarnProtos.AMCommandProto | convertToProtoFormat(org.apache.hadoop.yarn.api.records.AMCommand e) | 
| static org.apache.hadoop.yarn.proto.YarnProtos.ApplicationAccessTypeProto | convertToProtoFormat(org.apache.hadoop.yarn.api.records.ApplicationAccessType e) | 
| static org.apache.hadoop.yarn.proto.YarnProtos.ApplicationIdProto | convertToProtoFormat(org.apache.hadoop.yarn.api.records.ApplicationId t) | 
| static org.apache.hadoop.yarn.proto.YarnProtos.ApplicationResourceUsageReportProto | convertToProtoFormat(org.apache.hadoop.yarn.api.records.ApplicationResourceUsageReport e) | 
| static org.apache.hadoop.yarn.proto.YarnServiceProtos.ApplicationsRequestScopeProto | convertToProtoFormat(org.apache.hadoop.yarn.api.protocolrecords.ApplicationsRequestScope e) | 
| static org.apache.hadoop.yarn.proto.YarnProtos.ApplicationTimeoutTypeProto | convertToProtoFormat(org.apache.hadoop.yarn.api.records.ApplicationTimeoutType e) | 
| static org.apache.hadoop.thirdparty.protobuf.ByteString | convertToProtoFormat(ByteBuffer byteBuffer) | 
| static org.apache.hadoop.yarn.proto.YarnProtos.ContainerProto | convertToProtoFormat(org.apache.hadoop.yarn.api.records.Container t) | 
| static org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto | convertToProtoFormat(org.apache.hadoop.yarn.api.records.ContainerId t) | 
| static org.apache.hadoop.yarn.proto.YarnProtos.ContainerRetryPolicyProto | convertToProtoFormat(org.apache.hadoop.yarn.api.records.ContainerRetryPolicy e) | 
| static org.apache.hadoop.yarn.proto.YarnProtos.ContainerStateProto | convertToProtoFormat(org.apache.hadoop.yarn.api.records.ContainerState state) | 
| static org.apache.hadoop.yarn.proto.YarnProtos.ContainerSubStateProto | convertToProtoFormat(org.apache.hadoop.yarn.api.records.ContainerSubState state) | 
| static org.apache.hadoop.yarn.proto.YarnProtos.ContainerTypeProto | convertToProtoFormat(org.apache.hadoop.yarn.server.api.ContainerType e) | 
| static org.apache.hadoop.yarn.proto.YarnServiceProtos.ContainerUpdateTypeProto | convertToProtoFormat(org.apache.hadoop.yarn.api.records.ContainerUpdateType e) | 
| static org.apache.hadoop.yarn.proto.YarnProtos.ExecutionTypeProto | convertToProtoFormat(org.apache.hadoop.yarn.api.records.ExecutionType e) | 
| static org.apache.hadoop.yarn.proto.YarnProtos.ExecutionTypeRequestProto | convertToProtoFormat(org.apache.hadoop.yarn.api.records.ExecutionTypeRequest e) | 
| static org.apache.hadoop.yarn.proto.YarnProtos.FinalApplicationStatusProto | convertToProtoFormat(org.apache.hadoop.yarn.api.records.FinalApplicationStatus e) | 
| static org.apache.hadoop.yarn.proto.YarnServiceProtos.LocalizationStateProto | convertToProtoFormat(org.apache.hadoop.yarn.api.records.LocalizationState e) | 
| static org.apache.hadoop.yarn.proto.YarnProtos.LocalResourceTypeProto | convertToProtoFormat(org.apache.hadoop.yarn.api.records.LocalResourceType e) | 
| static org.apache.hadoop.yarn.proto.YarnProtos.LocalResourceVisibilityProto | convertToProtoFormat(org.apache.hadoop.yarn.api.records.LocalResourceVisibility e) | 
| static org.apache.hadoop.yarn.proto.YarnProtos.LogAggregationStatusProto | convertToProtoFormat(org.apache.hadoop.yarn.api.records.LogAggregationStatus e) | 
| static List<org.apache.hadoop.yarn.proto.YarnProtos.StringStringMapProto> | convertToProtoFormat(Map<String,String> stringMap) | 
| static org.apache.hadoop.yarn.proto.YarnProtos.NodeIdProto | convertToProtoFormat(org.apache.hadoop.yarn.api.records.NodeId e) | 
| static org.apache.hadoop.yarn.proto.YarnProtos.NodeStateProto | convertToProtoFormat(org.apache.hadoop.yarn.api.records.NodeState e) | 
| static org.apache.hadoop.yarn.proto.YarnProtos.NodeUpdateTypeProto | convertToProtoFormat(org.apache.hadoop.yarn.api.records.NodeUpdateType e) | 
| static org.apache.hadoop.yarn.proto.YarnProtos.PlacementConstraintTargetProto.TargetType | convertToProtoFormat(org.apache.hadoop.yarn.api.resource.PlacementConstraint.TargetExpression.TargetType t) | 
| static org.apache.hadoop.yarn.proto.YarnProtos.TimedPlacementConstraintProto.DelayUnit | convertToProtoFormat(org.apache.hadoop.yarn.api.resource.PlacementConstraint.TimedPlacementConstraint.DelayUnit u) | 
| static org.apache.hadoop.yarn.proto.YarnProtos.QueueACLProto | convertToProtoFormat(org.apache.hadoop.yarn.api.records.QueueACL e) | 
| static org.apache.hadoop.yarn.proto.YarnProtos.QueueStateProto | convertToProtoFormat(org.apache.hadoop.yarn.api.records.QueueState e) | 
| static org.apache.hadoop.yarn.proto.YarnProtos.RejectionReasonProto | convertToProtoFormat(org.apache.hadoop.yarn.api.records.RejectionReason e) | 
| static org.apache.hadoop.yarn.proto.YarnProtos.ReservationRequestInterpreterProto | convertToProtoFormat(org.apache.hadoop.yarn.api.records.ReservationRequestInterpreter e) | 
| static org.apache.hadoop.yarn.proto.YarnProtos.ResourceProto | convertToProtoFormat(org.apache.hadoop.yarn.api.records.Resource r) | 
| static org.apache.hadoop.yarn.proto.YarnServiceProtos.UpdateContainerErrorProto | convertToProtoFormat(org.apache.hadoop.yarn.api.records.UpdateContainerError t) | 
| static org.apache.hadoop.yarn.proto.YarnServiceProtos.UpdateContainerRequestProto | convertToProtoFormat(org.apache.hadoop.yarn.api.records.UpdateContainerRequest t) | 
| static org.apache.hadoop.yarn.proto.YarnProtos.YarnApplicationAttemptStateProto | convertToProtoFormat(org.apache.hadoop.yarn.api.records.YarnApplicationAttemptState e) | 
| static org.apache.hadoop.yarn.proto.YarnProtos.YarnApplicationStateProto | convertToProtoFormat(org.apache.hadoop.yarn.api.records.YarnApplicationState e) | 
public static final org.apache.hadoop.thirdparty.com.google.common.collect.Interner<org.apache.hadoop.thirdparty.protobuf.ByteString> BYTE_STRING_INTERNER
public static org.apache.hadoop.yarn.proto.YarnProtos.ContainerStateProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.ContainerState state)
public static org.apache.hadoop.yarn.api.records.ContainerState convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ContainerStateProto proto)
public static org.apache.hadoop.yarn.proto.YarnProtos.ContainerSubStateProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.ContainerSubState state)
public static org.apache.hadoop.yarn.api.records.ContainerSubState convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ContainerSubStateProto proto)
public static org.apache.hadoop.yarn.proto.YarnProtos.NodeStateProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.NodeState e)
public static org.apache.hadoop.yarn.api.records.NodeState convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.NodeStateProto e)
public static org.apache.hadoop.yarn.proto.YarnProtos.NodeIdProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.NodeId e)
public static org.apache.hadoop.yarn.api.records.NodeId convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.NodeIdProto e)
public static org.apache.hadoop.yarn.proto.YarnProtos.YarnApplicationStateProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.YarnApplicationState e)
public static org.apache.hadoop.yarn.api.records.YarnApplicationState convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.YarnApplicationStateProto e)
public static org.apache.hadoop.yarn.proto.YarnProtos.YarnApplicationAttemptStateProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.YarnApplicationAttemptState e)
public static org.apache.hadoop.yarn.api.records.YarnApplicationAttemptState convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.YarnApplicationAttemptStateProto e)
public static org.apache.hadoop.yarn.proto.YarnServiceProtos.ApplicationsRequestScopeProto convertToProtoFormat(org.apache.hadoop.yarn.api.protocolrecords.ApplicationsRequestScope e)
public static org.apache.hadoop.yarn.api.protocolrecords.ApplicationsRequestScope convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnServiceProtos.ApplicationsRequestScopeProto e)
public static org.apache.hadoop.yarn.proto.YarnProtos.ApplicationResourceUsageReportProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.ApplicationResourceUsageReport e)
public static org.apache.hadoop.yarn.api.records.ApplicationResourceUsageReport convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ApplicationResourceUsageReportProto e)
public static org.apache.hadoop.yarn.proto.YarnProtos.FinalApplicationStatusProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.FinalApplicationStatus e)
public static org.apache.hadoop.yarn.api.records.FinalApplicationStatus convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.FinalApplicationStatusProto e)
public static org.apache.hadoop.yarn.proto.YarnProtos.LocalResourceTypeProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.LocalResourceType e)
public static org.apache.hadoop.yarn.api.records.LocalResourceType convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.LocalResourceTypeProto e)
public static org.apache.hadoop.yarn.proto.YarnProtos.LocalResourceVisibilityProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.LocalResourceVisibility e)
public static org.apache.hadoop.yarn.api.records.LocalResourceVisibility convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.LocalResourceVisibilityProto e)
public static org.apache.hadoop.yarn.proto.YarnProtos.AMCommandProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.AMCommand e)
public static org.apache.hadoop.yarn.api.records.AMCommand convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.AMCommandProto e)
public static org.apache.hadoop.yarn.proto.YarnProtos.RejectionReasonProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.RejectionReason e)
public static org.apache.hadoop.yarn.api.records.RejectionReason convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.RejectionReasonProto e)
public static ByteBuffer convertFromProtoFormat(org.apache.hadoop.thirdparty.protobuf.ByteString byteString)
public static org.apache.hadoop.thirdparty.protobuf.ByteString convertToProtoFormat(ByteBuffer byteBuffer)
public static org.apache.hadoop.yarn.proto.YarnProtos.QueueStateProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.QueueState e)
public static org.apache.hadoop.yarn.api.records.QueueState convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.QueueStateProto e)
public static org.apache.hadoop.yarn.proto.YarnProtos.QueueACLProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.QueueACL e)
public static org.apache.hadoop.yarn.api.records.QueueACL convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.QueueACLProto e)
public static org.apache.hadoop.yarn.proto.YarnProtos.ApplicationAccessTypeProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.ApplicationAccessType e)
public static org.apache.hadoop.yarn.api.records.ApplicationAccessType convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ApplicationAccessTypeProto e)
public static org.apache.hadoop.yarn.proto.YarnProtos.ApplicationTimeoutTypeProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.ApplicationTimeoutType e)
public static org.apache.hadoop.yarn.api.records.ApplicationTimeoutType convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ApplicationTimeoutTypeProto e)
public static org.apache.hadoop.yarn.proto.YarnProtos.ReservationRequestInterpreterProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.ReservationRequestInterpreter e)
public static org.apache.hadoop.yarn.api.records.ReservationRequestInterpreter convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ReservationRequestInterpreterProto e)
public static org.apache.hadoop.yarn.proto.YarnProtos.LogAggregationStatusProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.LogAggregationStatus e)
public static org.apache.hadoop.yarn.api.records.LogAggregationStatus convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.LogAggregationStatusProto e)
public static org.apache.hadoop.yarn.proto.YarnProtos.ContainerTypeProto convertToProtoFormat(org.apache.hadoop.yarn.server.api.ContainerType e)
public static org.apache.hadoop.yarn.server.api.ContainerType convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ContainerTypeProto e)
public static org.apache.hadoop.yarn.proto.YarnProtos.NodeUpdateTypeProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.NodeUpdateType e)
public static org.apache.hadoop.yarn.api.records.NodeUpdateType convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.NodeUpdateTypeProto e)
public static org.apache.hadoop.yarn.proto.YarnProtos.ExecutionTypeProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.ExecutionType e)
public static org.apache.hadoop.yarn.api.records.ExecutionType convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ExecutionTypeProto e)
public static org.apache.hadoop.yarn.proto.YarnServiceProtos.ContainerUpdateTypeProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.ContainerUpdateType e)
public static org.apache.hadoop.yarn.api.records.ContainerUpdateType convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnServiceProtos.ContainerUpdateTypeProto e)
public static org.apache.hadoop.yarn.proto.YarnProtos.ResourceProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.Resource r)
public static org.apache.hadoop.yarn.api.records.Resource convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ResourceProto resource)
public static org.apache.hadoop.yarn.proto.YarnProtos.ContainerRetryPolicyProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.ContainerRetryPolicy e)
public static org.apache.hadoop.yarn.api.records.ContainerRetryPolicy convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ContainerRetryPolicyProto e)
public static org.apache.hadoop.yarn.proto.YarnProtos.ExecutionTypeRequestProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.ExecutionTypeRequest e)
public static org.apache.hadoop.yarn.api.records.ExecutionTypeRequest convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ExecutionTypeRequestProto e)
public static org.apache.hadoop.yarn.proto.YarnProtos.ContainerProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.Container t)
public static ContainerPBImpl convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ContainerProto t)
public static ContainerStatusPBImpl convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ContainerStatusProto p)
public static ContainerIdPBImpl convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto p)
public static org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.ContainerId t)
public static UpdateContainerRequestPBImpl convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnServiceProtos.UpdateContainerRequestProto p)
public static org.apache.hadoop.yarn.proto.YarnServiceProtos.UpdateContainerRequestProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.UpdateContainerRequest t)
public static UpdateContainerErrorPBImpl convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnServiceProtos.UpdateContainerErrorProto p)
public static org.apache.hadoop.yarn.proto.YarnServiceProtos.UpdateContainerErrorProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.UpdateContainerError t)
public static org.apache.hadoop.yarn.proto.YarnProtos.ResourceTypesProto converToProtoFormat(org.apache.hadoop.yarn.api.protocolrecords.ResourceTypes e)
public static org.apache.hadoop.yarn.api.protocolrecords.ResourceTypes convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ResourceTypesProto e)
public static Map<String,Long> convertStringLongMapProtoListToMap(List<org.apache.hadoop.yarn.proto.YarnProtos.StringLongMapProto> pList)
public static List<org.apache.hadoop.yarn.proto.YarnProtos.StringLongMapProto> convertMapToStringLongMapProtoList(Map<String,Long> map)
public static List<org.apache.hadoop.yarn.proto.YarnProtos.StringFloatMapProto> convertMapToStringFloatMapProtoList(Map<String,Float> map)
public static Map<String,String> convertStringStringMapProtoListToMap(List<org.apache.hadoop.yarn.proto.YarnProtos.StringStringMapProto> pList)
public static Map<String,Float> convertStringFloatMapProtoListToMap(List<org.apache.hadoop.yarn.proto.YarnProtos.StringFloatMapProto> pList)
public static List<org.apache.hadoop.yarn.proto.YarnProtos.StringStringMapProto> convertToProtoFormat(Map<String,String> stringMap)
public static org.apache.hadoop.yarn.proto.YarnProtos.PlacementConstraintTargetProto.TargetType convertToProtoFormat(org.apache.hadoop.yarn.api.resource.PlacementConstraint.TargetExpression.TargetType t)
public static org.apache.hadoop.yarn.api.resource.PlacementConstraint.TargetExpression.TargetType convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.PlacementConstraintTargetProto.TargetType t)
public static org.apache.hadoop.yarn.proto.YarnProtos.TimedPlacementConstraintProto.DelayUnit convertToProtoFormat(org.apache.hadoop.yarn.api.resource.PlacementConstraint.TimedPlacementConstraint.DelayUnit u)
public static org.apache.hadoop.yarn.api.resource.PlacementConstraint.TimedPlacementConstraint.DelayUnit convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.TimedPlacementConstraintProto.DelayUnit u)
public static ApplicationIdPBImpl convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnProtos.ApplicationIdProto p)
public static org.apache.hadoop.yarn.proto.YarnProtos.ApplicationIdProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.ApplicationId t)
public static org.apache.hadoop.yarn.proto.YarnServiceProtos.LocalizationStateProto convertToProtoFormat(org.apache.hadoop.yarn.api.records.LocalizationState e)
public static org.apache.hadoop.yarn.api.records.LocalizationState convertFromProtoFormat(org.apache.hadoop.yarn.proto.YarnServiceProtos.LocalizationStateProto e)
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.