org.apache.hadoop.yarn.proto.YarnProtos.ContainerStateProto Java Examples

The following examples show how to use org.apache.hadoop.yarn.proto.YarnProtos.ContainerStateProto. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ContainerFinishDataPBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
private ContainerState convertFromProtoFormat(
    ContainerStateProto containerState) {
  return ProtoUtils.convertFromProtoFormat(containerState);
}
 
Example #2
Source File: ContainerFinishDataPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private ContainerState convertFromProtoFormat(
    ContainerStateProto containerState) {
  return ProtoUtils.convertFromProtoFormat(containerState);
}
 
Example #3
Source File: ContainerFinishDataPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private ContainerStateProto convertToProtoFormat(ContainerState state) {
  return ProtoUtils.convertToProtoFormat(state);
}
 
Example #4
Source File: NMContainerStatusPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private ContainerState convertFromProtoFormat(
    ContainerStateProto containerState) {
  return ProtoUtils.convertFromProtoFormat(containerState);
}
 
Example #5
Source File: NMContainerStatusPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private ContainerStateProto
    convertToProtoFormat(ContainerState containerState) {
  return ProtoUtils.convertToProtoFormat(containerState);
}
 
Example #6
Source File: ContainerStatusPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private ContainerState convertFromProtoFormat(ContainerStateProto e) {
  return ProtoUtils.convertFromProtoFormat(e);
}
 
Example #7
Source File: ContainerStatusPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private ContainerStateProto convertToProtoFormat(ContainerState e) {
  return ProtoUtils.convertToProtoFormat(e);
}
 
Example #8
Source File: ContainerReportPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private ContainerState convertFromProtoFormat(
    ContainerStateProto containerState) {
  return ProtoUtils.convertFromProtoFormat(containerState);
}
 
Example #9
Source File: ContainerReportPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private ContainerStateProto
    convertToProtoFormat(ContainerState containerState) {
  return ProtoUtils.convertToProtoFormat(containerState);
}
 
Example #10
Source File: ProtoUtils.java    From big-c with Apache License 2.0 4 votes vote down vote up
public static ContainerState convertFromProtoFormat(ContainerStateProto e) {
  return ContainerState.valueOf(e.name().replace(CONTAINER_STATE_PREFIX, ""));
}
 
Example #11
Source File: ProtoUtils.java    From big-c with Apache License 2.0 4 votes vote down vote up
public static ContainerStateProto convertToProtoFormat(ContainerState e) {
  return ContainerStateProto.valueOf(CONTAINER_STATE_PREFIX + e.name());
}
 
Example #12
Source File: ContainerFinishDataPBImpl.java    From ambari-metrics with Apache License 2.0 4 votes vote down vote up
private ContainerStateProto convertToProtoFormat(ContainerState state) {
  return ProtoUtils.convertToProtoFormat(state);
}
 
Example #13
Source File: ContainerFinishDataPBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
private ContainerStateProto convertToProtoFormat(ContainerState state) {
  return ProtoUtils.convertToProtoFormat(state);
}
 
Example #14
Source File: NMContainerStatusPBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
private ContainerState convertFromProtoFormat(
    ContainerStateProto containerState) {
  return ProtoUtils.convertFromProtoFormat(containerState);
}
 
Example #15
Source File: NMContainerStatusPBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
private ContainerStateProto
    convertToProtoFormat(ContainerState containerState) {
  return ProtoUtils.convertToProtoFormat(containerState);
}
 
Example #16
Source File: ContainerStatusPBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
private ContainerState convertFromProtoFormat(ContainerStateProto e) {
  return ProtoUtils.convertFromProtoFormat(e);
}
 
Example #17
Source File: ContainerStatusPBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
private ContainerStateProto convertToProtoFormat(ContainerState e) {
  return ProtoUtils.convertToProtoFormat(e);
}
 
Example #18
Source File: ContainerReportPBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
private ContainerState convertFromProtoFormat(
    ContainerStateProto containerState) {
  return ProtoUtils.convertFromProtoFormat(containerState);
}
 
Example #19
Source File: ContainerReportPBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
private ContainerStateProto
    convertToProtoFormat(ContainerState containerState) {
  return ProtoUtils.convertToProtoFormat(containerState);
}
 
Example #20
Source File: ProtoUtils.java    From hadoop with Apache License 2.0 4 votes vote down vote up
public static ContainerState convertFromProtoFormat(ContainerStateProto e) {
  return ContainerState.valueOf(e.name().replace(CONTAINER_STATE_PREFIX, ""));
}
 
Example #21
Source File: ProtoUtils.java    From hadoop with Apache License 2.0 4 votes vote down vote up
public static ContainerStateProto convertToProtoFormat(ContainerState e) {
  return ContainerStateProto.valueOf(CONTAINER_STATE_PREFIX + e.name());
}
 
Example #22
Source File: ContainerFinishDataPBImpl.java    From ambari-metrics with Apache License 2.0 4 votes vote down vote up
private ContainerState convertFromProtoFormat(
    ContainerStateProto containerState) {
  return ProtoUtils.convertFromProtoFormat(containerState);
}