org.apache.hadoop.yarn.proto.ApplicationHistoryServerProtos.ApplicationFinishDataProtoOrBuilder Java Examples

The following examples show how to use org.apache.hadoop.yarn.proto.ApplicationHistoryServerProtos.ApplicationFinishDataProtoOrBuilder. 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: ApplicationFinishDataPBImpl.java    From ambari-metrics with Apache License 2.0 5 votes vote down vote up
@Override
public ApplicationId getApplicationId() {
  if (this.applicationId != null) {
    return this.applicationId;
  }
  ApplicationFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasApplicationId()) {
    return null;
  }
  this.applicationId = convertFromProtoFormat(p.getApplicationId());
  return this.applicationId;
}
 
Example #2
Source File: ApplicationFinishDataPBImpl.java    From ambari-metrics with Apache License 2.0 5 votes vote down vote up
@Override
public String getDiagnosticsInfo() {
  ApplicationFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasDiagnosticsInfo()) {
    return null;
  }
  return p.getDiagnosticsInfo();
}
 
Example #3
Source File: ApplicationFinishDataPBImpl.java    From ambari-metrics with Apache License 2.0 5 votes vote down vote up
@Override
public FinalApplicationStatus getFinalApplicationStatus() {
  ApplicationFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasFinalApplicationStatus()) {
    return null;
  }
  return convertFromProtoFormat(p.getFinalApplicationStatus());
}
 
Example #4
Source File: ApplicationFinishDataPBImpl.java    From ambari-metrics with Apache License 2.0 5 votes vote down vote up
@Override
public YarnApplicationState getYarnApplicationState() {
  ApplicationFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasYarnApplicationState()) {
    return null;
  }
  return convertFromProtoFormat(p.getYarnApplicationState());
}
 
Example #5
Source File: ApplicationFinishDataPBImpl.java    From hadoop with Apache License 2.0 5 votes vote down vote up
@Override
public ApplicationId getApplicationId() {
  if (this.applicationId != null) {
    return this.applicationId;
  }
  ApplicationFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasApplicationId()) {
    return null;
  }
  this.applicationId = convertFromProtoFormat(p.getApplicationId());
  return this.applicationId;
}
 
Example #6
Source File: ApplicationFinishDataPBImpl.java    From hadoop with Apache License 2.0 5 votes vote down vote up
@Override
public String getDiagnosticsInfo() {
  ApplicationFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasDiagnosticsInfo()) {
    return null;
  }
  return p.getDiagnosticsInfo();
}
 
Example #7
Source File: ApplicationFinishDataPBImpl.java    From hadoop with Apache License 2.0 5 votes vote down vote up
@Override
public FinalApplicationStatus getFinalApplicationStatus() {
  ApplicationFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasFinalApplicationStatus()) {
    return null;
  }
  return convertFromProtoFormat(p.getFinalApplicationStatus());
}
 
Example #8
Source File: ApplicationFinishDataPBImpl.java    From hadoop with Apache License 2.0 5 votes vote down vote up
@Override
public YarnApplicationState getYarnApplicationState() {
  ApplicationFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasYarnApplicationState()) {
    return null;
  }
  return convertFromProtoFormat(p.getYarnApplicationState());
}
 
Example #9
Source File: ApplicationFinishDataPBImpl.java    From big-c with Apache License 2.0 5 votes vote down vote up
@Override
public ApplicationId getApplicationId() {
  if (this.applicationId != null) {
    return this.applicationId;
  }
  ApplicationFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasApplicationId()) {
    return null;
  }
  this.applicationId = convertFromProtoFormat(p.getApplicationId());
  return this.applicationId;
}
 
Example #10
Source File: ApplicationFinishDataPBImpl.java    From big-c with Apache License 2.0 5 votes vote down vote up
@Override
public String getDiagnosticsInfo() {
  ApplicationFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasDiagnosticsInfo()) {
    return null;
  }
  return p.getDiagnosticsInfo();
}
 
Example #11
Source File: ApplicationFinishDataPBImpl.java    From big-c with Apache License 2.0 5 votes vote down vote up
@Override
public FinalApplicationStatus getFinalApplicationStatus() {
  ApplicationFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasFinalApplicationStatus()) {
    return null;
  }
  return convertFromProtoFormat(p.getFinalApplicationStatus());
}
 
Example #12
Source File: ApplicationFinishDataPBImpl.java    From big-c with Apache License 2.0 5 votes vote down vote up
@Override
public YarnApplicationState getYarnApplicationState() {
  ApplicationFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasYarnApplicationState()) {
    return null;
  }
  return convertFromProtoFormat(p.getYarnApplicationState());
}
 
Example #13
Source File: ApplicationFinishDataPBImpl.java    From ambari-metrics with Apache License 2.0 4 votes vote down vote up
@Override
public long getFinishTime() {
  ApplicationFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  return p.getFinishTime();
}
 
Example #14
Source File: ApplicationFinishDataPBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
@Override
public long getFinishTime() {
  ApplicationFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  return p.getFinishTime();
}
 
Example #15
Source File: ApplicationFinishDataPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
@Override
public long getFinishTime() {
  ApplicationFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  return p.getFinishTime();
}