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

The following examples show how to use org.apache.hadoop.yarn.proto.YarnProtos.FinalApplicationStatusProto. 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: ApplicationAttemptFinishDataPBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatus convertFromProtoFormat(
    FinalApplicationStatusProto finalApplicationStatus) {
  return ProtoUtils.convertFromProtoFormat(finalApplicationStatus);
}
 
Example #2
Source File: ApplicationAttemptFinishDataPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatusProto convertToProtoFormat(
    FinalApplicationStatus finalApplicationStatus) {
  return ProtoUtils.convertToProtoFormat(finalApplicationStatus);
}
 
Example #3
Source File: ApplicationAttemptFinishDataPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatus convertFromProtoFormat(
    FinalApplicationStatusProto finalApplicationStatus) {
  return ProtoUtils.convertFromProtoFormat(finalApplicationStatus);
}
 
Example #4
Source File: ApplicationFinishDataPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatusProto convertToProtoFormat(
    FinalApplicationStatus finalApplicationStatus) {
  return ProtoUtils.convertToProtoFormat(finalApplicationStatus);
}
 
Example #5
Source File: ApplicationFinishDataPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatus convertFromProtoFormat(
    FinalApplicationStatusProto finalApplicationStatus) {
  return ProtoUtils.convertFromProtoFormat(finalApplicationStatus);
}
 
Example #6
Source File: ApplicationAttemptStateDataPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatus convertFromProtoFormat(FinalApplicationStatusProto s) {
  return ProtoUtils.convertFromProtoFormat(s);
}
 
Example #7
Source File: ApplicationAttemptStateDataPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatusProto convertToProtoFormat(FinalApplicationStatus s) {
  return ProtoUtils.convertToProtoFormat(s);
}
 
Example #8
Source File: ApplicationReportPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatusProto convertToProtoFormat(FinalApplicationStatus s) {
  return ProtoUtils.convertToProtoFormat(s);
}
 
Example #9
Source File: ApplicationReportPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatus convertFromProtoFormat(FinalApplicationStatusProto s) {
  return ProtoUtils.convertFromProtoFormat(s);
}
 
Example #10
Source File: ProtoUtils.java    From big-c with 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 #11
Source File: ProtoUtils.java    From big-c with 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 #12
Source File: FinishApplicationMasterRequestPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatusProto convertToProtoFormat(FinalApplicationStatus s) {
  return ProtoUtils.convertToProtoFormat(s);
}
 
Example #13
Source File: FinishApplicationMasterRequestPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatus convertFromProtoFormat(FinalApplicationStatusProto s) {
  return ProtoUtils.convertFromProtoFormat(s);
}
 
Example #14
Source File: ApplicationAttemptFinishDataPBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatusProto convertToProtoFormat(
    FinalApplicationStatus finalApplicationStatus) {
  return ProtoUtils.convertToProtoFormat(finalApplicationStatus);
}
 
Example #15
Source File: ApplicationFinishDataPBImpl.java    From ambari-metrics with Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatus convertFromProtoFormat(
    FinalApplicationStatusProto finalApplicationStatus) {
  return ProtoUtils.convertFromProtoFormat(finalApplicationStatus);
}
 
Example #16
Source File: ApplicationFinishDataPBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatusProto convertToProtoFormat(
    FinalApplicationStatus finalApplicationStatus) {
  return ProtoUtils.convertToProtoFormat(finalApplicationStatus);
}
 
Example #17
Source File: ApplicationFinishDataPBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatus convertFromProtoFormat(
    FinalApplicationStatusProto finalApplicationStatus) {
  return ProtoUtils.convertFromProtoFormat(finalApplicationStatus);
}
 
Example #18
Source File: ApplicationAttemptStateDataPBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatus convertFromProtoFormat(FinalApplicationStatusProto s) {
  return ProtoUtils.convertFromProtoFormat(s);
}
 
Example #19
Source File: ApplicationAttemptStateDataPBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatusProto convertToProtoFormat(FinalApplicationStatus s) {
  return ProtoUtils.convertToProtoFormat(s);
}
 
Example #20
Source File: ApplicationReportPBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatusProto convertToProtoFormat(FinalApplicationStatus s) {
  return ProtoUtils.convertToProtoFormat(s);
}
 
Example #21
Source File: ApplicationReportPBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatus convertFromProtoFormat(FinalApplicationStatusProto s) {
  return ProtoUtils.convertFromProtoFormat(s);
}
 
Example #22
Source File: ProtoUtils.java    From hadoop with 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 #23
Source File: ProtoUtils.java    From hadoop with 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 #24
Source File: FinishApplicationMasterRequestPBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatusProto convertToProtoFormat(FinalApplicationStatus s) {
  return ProtoUtils.convertToProtoFormat(s);
}
 
Example #25
Source File: FinishApplicationMasterRequestPBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatus convertFromProtoFormat(FinalApplicationStatusProto s) {
  return ProtoUtils.convertFromProtoFormat(s);
}
 
Example #26
Source File: ApplicationAttemptFinishDataPBImpl.java    From ambari-metrics with Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatusProto convertToProtoFormat(
    FinalApplicationStatus finalApplicationStatus) {
  return ProtoUtils.convertToProtoFormat(finalApplicationStatus);
}
 
Example #27
Source File: ApplicationAttemptFinishDataPBImpl.java    From ambari-metrics with Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatus convertFromProtoFormat(
    FinalApplicationStatusProto finalApplicationStatus) {
  return ProtoUtils.convertFromProtoFormat(finalApplicationStatus);
}
 
Example #28
Source File: ApplicationFinishDataPBImpl.java    From ambari-metrics with Apache License 2.0 4 votes vote down vote up
private FinalApplicationStatusProto convertToProtoFormat(
    FinalApplicationStatus finalApplicationStatus) {
  return ProtoUtils.convertToProtoFormat(finalApplicationStatus);
}