Java Code Examples for org.apache.hadoop.yarn.proto.ApplicationHistoryServerProtos.ApplicationAttemptFinishDataProtoOrBuilder

The following examples show how to use org.apache.hadoop.yarn.proto.ApplicationHistoryServerProtos.ApplicationAttemptFinishDataProtoOrBuilder. 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
@Override
public ApplicationAttemptId getApplicationAttemptId() {
  if (this.applicationAttemptId != null) {
    return this.applicationAttemptId;
  }
  ApplicationAttemptFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasApplicationAttemptId()) {
    return null;
  }
  this.applicationAttemptId =
      convertFromProtoFormat(p.getApplicationAttemptId());
  return this.applicationAttemptId;
}
 
Example 2
@Override
public String getTrackingURL() {
  ApplicationAttemptFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasTrackingUrl()) {
    return null;
  }
  return p.getTrackingUrl();
}
 
Example 3
@Override
public String getDiagnosticsInfo() {
  ApplicationAttemptFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasDiagnosticsInfo()) {
    return null;
  }
  return p.getDiagnosticsInfo();
}
 
Example 4
@Override
public FinalApplicationStatus getFinalApplicationStatus() {
  ApplicationAttemptFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasFinalApplicationStatus()) {
    return null;
  }
  return convertFromProtoFormat(p.getFinalApplicationStatus());
}
 
Example 5
@Override
public YarnApplicationAttemptState getYarnApplicationAttemptState() {
  ApplicationAttemptFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasYarnApplicationAttemptState()) {
    return null;
  }
  return convertFromProtoFormat(p.getYarnApplicationAttemptState());
}
 
Example 6
Source Project: hadoop   Source File: ApplicationAttemptFinishDataPBImpl.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public ApplicationAttemptId getApplicationAttemptId() {
  if (this.applicationAttemptId != null) {
    return this.applicationAttemptId;
  }
  ApplicationAttemptFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasApplicationAttemptId()) {
    return null;
  }
  this.applicationAttemptId =
      convertFromProtoFormat(p.getApplicationAttemptId());
  return this.applicationAttemptId;
}
 
Example 7
Source Project: hadoop   Source File: ApplicationAttemptFinishDataPBImpl.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public String getTrackingURL() {
  ApplicationAttemptFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasTrackingUrl()) {
    return null;
  }
  return p.getTrackingUrl();
}
 
Example 8
Source Project: hadoop   Source File: ApplicationAttemptFinishDataPBImpl.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public String getDiagnosticsInfo() {
  ApplicationAttemptFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasDiagnosticsInfo()) {
    return null;
  }
  return p.getDiagnosticsInfo();
}
 
Example 9
Source Project: hadoop   Source File: ApplicationAttemptFinishDataPBImpl.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public FinalApplicationStatus getFinalApplicationStatus() {
  ApplicationAttemptFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasFinalApplicationStatus()) {
    return null;
  }
  return convertFromProtoFormat(p.getFinalApplicationStatus());
}
 
Example 10
Source Project: hadoop   Source File: ApplicationAttemptFinishDataPBImpl.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public YarnApplicationAttemptState getYarnApplicationAttemptState() {
  ApplicationAttemptFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasYarnApplicationAttemptState()) {
    return null;
  }
  return convertFromProtoFormat(p.getYarnApplicationAttemptState());
}
 
Example 11
Source Project: big-c   Source File: ApplicationAttemptFinishDataPBImpl.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public ApplicationAttemptId getApplicationAttemptId() {
  if (this.applicationAttemptId != null) {
    return this.applicationAttemptId;
  }
  ApplicationAttemptFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasApplicationAttemptId()) {
    return null;
  }
  this.applicationAttemptId =
      convertFromProtoFormat(p.getApplicationAttemptId());
  return this.applicationAttemptId;
}
 
Example 12
Source Project: big-c   Source File: ApplicationAttemptFinishDataPBImpl.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public String getTrackingURL() {
  ApplicationAttemptFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasTrackingUrl()) {
    return null;
  }
  return p.getTrackingUrl();
}
 
Example 13
Source Project: big-c   Source File: ApplicationAttemptFinishDataPBImpl.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public String getDiagnosticsInfo() {
  ApplicationAttemptFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasDiagnosticsInfo()) {
    return null;
  }
  return p.getDiagnosticsInfo();
}
 
Example 14
Source Project: big-c   Source File: ApplicationAttemptFinishDataPBImpl.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public FinalApplicationStatus getFinalApplicationStatus() {
  ApplicationAttemptFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasFinalApplicationStatus()) {
    return null;
  }
  return convertFromProtoFormat(p.getFinalApplicationStatus());
}
 
Example 15
Source Project: big-c   Source File: ApplicationAttemptFinishDataPBImpl.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public YarnApplicationAttemptState getYarnApplicationAttemptState() {
  ApplicationAttemptFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasYarnApplicationAttemptState()) {
    return null;
  }
  return convertFromProtoFormat(p.getYarnApplicationAttemptState());
}