Java Code Examples for org.apache.hadoop.yarn.proto.YarnProtos.FinalApplicationStatusProto

The following examples show how to use org.apache.hadoop.yarn.proto.YarnProtos.FinalApplicationStatusProto. These examples are extracted from open source projects. 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
private FinalApplicationStatus convertFromProtoFormat(
    FinalApplicationStatusProto finalApplicationStatus) {
  return ProtoUtils.convertFromProtoFormat(finalApplicationStatus);
}
 
Example 2
private FinalApplicationStatusProto convertToProtoFormat(
    FinalApplicationStatus finalApplicationStatus) {
  return ProtoUtils.convertToProtoFormat(finalApplicationStatus);
}
 
Example 3
private FinalApplicationStatus convertFromProtoFormat(
    FinalApplicationStatusProto finalApplicationStatus) {
  return ProtoUtils.convertFromProtoFormat(finalApplicationStatus);
}
 
Example 4
private FinalApplicationStatusProto convertToProtoFormat(
    FinalApplicationStatus finalApplicationStatus) {
  return ProtoUtils.convertToProtoFormat(finalApplicationStatus);
}
 
Example 5
private FinalApplicationStatus convertFromProtoFormat(FinalApplicationStatusProto s) {
  return ProtoUtils.convertFromProtoFormat(s);
}
 
Example 6
private FinalApplicationStatusProto convertToProtoFormat(FinalApplicationStatus s) {
  return ProtoUtils.convertToProtoFormat(s);
}
 
Example 7
Source Project: hadoop   Source File: ProtoUtils.java    License: Apache License 2.0 4 votes vote down vote up
public static FinalApplicationStatusProto convertToProtoFormat(FinalApplicationStatus e) {
  return FinalApplicationStatusProto.valueOf(FINAL_APPLICATION_STATUS_PREFIX + e.name());
}
 
Example 8
Source Project: hadoop   Source File: ProtoUtils.java    License: Apache License 2.0 4 votes vote down vote up
public static FinalApplicationStatus convertFromProtoFormat(FinalApplicationStatusProto e) {
  return FinalApplicationStatus.valueOf(e.name().replace(FINAL_APPLICATION_STATUS_PREFIX, ""));
}
 
Example 9
Source Project: hadoop   Source File: ApplicationReportPBImpl.java    License: Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatus convertFromProtoFormat(FinalApplicationStatusProto s) {
  return ProtoUtils.convertFromProtoFormat(s);
}
 
Example 10
Source Project: hadoop   Source File: ApplicationReportPBImpl.java    License: Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatusProto convertToProtoFormat(FinalApplicationStatus s) {
  return ProtoUtils.convertToProtoFormat(s);
}
 
Example 11
Source Project: hadoop   Source File: ApplicationAttemptStateDataPBImpl.java    License: Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatusProto convertToProtoFormat(FinalApplicationStatus s) {
  return ProtoUtils.convertToProtoFormat(s);
}
 
Example 12
Source Project: hadoop   Source File: ApplicationAttemptStateDataPBImpl.java    License: Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatus convertFromProtoFormat(FinalApplicationStatusProto s) {
  return ProtoUtils.convertFromProtoFormat(s);
}
 
Example 13
Source Project: hadoop   Source File: ApplicationFinishDataPBImpl.java    License: Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatus convertFromProtoFormat(
    FinalApplicationStatusProto finalApplicationStatus) {
  return ProtoUtils.convertFromProtoFormat(finalApplicationStatus);
}
 
Example 14
Source Project: hadoop   Source File: ApplicationFinishDataPBImpl.java    License: Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatusProto convertToProtoFormat(
    FinalApplicationStatus finalApplicationStatus) {
  return ProtoUtils.convertToProtoFormat(finalApplicationStatus);
}
 
Example 15
Source Project: hadoop   Source File: ApplicationAttemptFinishDataPBImpl.java    License: Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatus convertFromProtoFormat(
    FinalApplicationStatusProto finalApplicationStatus) {
  return ProtoUtils.convertFromProtoFormat(finalApplicationStatus);
}
 
Example 16
Source Project: hadoop   Source File: ApplicationAttemptFinishDataPBImpl.java    License: Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatusProto convertToProtoFormat(
    FinalApplicationStatus finalApplicationStatus) {
  return ProtoUtils.convertToProtoFormat(finalApplicationStatus);
}
 
Example 17
private FinalApplicationStatus convertFromProtoFormat(FinalApplicationStatusProto s) {
  return ProtoUtils.convertFromProtoFormat(s);
}
 
Example 18
private FinalApplicationStatusProto convertToProtoFormat(FinalApplicationStatus s) {
  return ProtoUtils.convertToProtoFormat(s);
}
 
Example 19
Source Project: big-c   Source File: ProtoUtils.java    License: Apache License 2.0 4 votes vote down vote up
public static FinalApplicationStatusProto convertToProtoFormat(FinalApplicationStatus e) {
  return FinalApplicationStatusProto.valueOf(FINAL_APPLICATION_STATUS_PREFIX + e.name());
}
 
Example 20
Source Project: big-c   Source File: ProtoUtils.java    License: Apache License 2.0 4 votes vote down vote up
public static FinalApplicationStatus convertFromProtoFormat(FinalApplicationStatusProto e) {
  return FinalApplicationStatus.valueOf(e.name().replace(FINAL_APPLICATION_STATUS_PREFIX, ""));
}
 
Example 21
Source Project: big-c   Source File: ApplicationReportPBImpl.java    License: Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatus convertFromProtoFormat(FinalApplicationStatusProto s) {
  return ProtoUtils.convertFromProtoFormat(s);
}
 
Example 22
Source Project: big-c   Source File: ApplicationReportPBImpl.java    License: Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatusProto convertToProtoFormat(FinalApplicationStatus s) {
  return ProtoUtils.convertToProtoFormat(s);
}
 
Example 23
Source Project: big-c   Source File: ApplicationAttemptStateDataPBImpl.java    License: Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatusProto convertToProtoFormat(FinalApplicationStatus s) {
  return ProtoUtils.convertToProtoFormat(s);
}
 
Example 24
Source Project: big-c   Source File: ApplicationAttemptStateDataPBImpl.java    License: Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatus convertFromProtoFormat(FinalApplicationStatusProto s) {
  return ProtoUtils.convertFromProtoFormat(s);
}
 
Example 25
Source Project: big-c   Source File: ApplicationFinishDataPBImpl.java    License: Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatus convertFromProtoFormat(
    FinalApplicationStatusProto finalApplicationStatus) {
  return ProtoUtils.convertFromProtoFormat(finalApplicationStatus);
}
 
Example 26
Source Project: big-c   Source File: ApplicationFinishDataPBImpl.java    License: Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatusProto convertToProtoFormat(
    FinalApplicationStatus finalApplicationStatus) {
  return ProtoUtils.convertToProtoFormat(finalApplicationStatus);
}
 
Example 27
Source Project: big-c   Source File: ApplicationAttemptFinishDataPBImpl.java    License: Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatus convertFromProtoFormat(
    FinalApplicationStatusProto finalApplicationStatus) {
  return ProtoUtils.convertFromProtoFormat(finalApplicationStatus);
}
 
Example 28
Source Project: big-c   Source File: ApplicationAttemptFinishDataPBImpl.java    License: Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatusProto convertToProtoFormat(
    FinalApplicationStatus finalApplicationStatus) {
  return ProtoUtils.convertToProtoFormat(finalApplicationStatus);
}