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

The following examples show how to use org.apache.hadoop.yarn.proto.ApplicationHistoryServerProtos.ContainerFinishDataProtoOrBuilder. 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 ambari-metrics with Apache License 2.0 5 votes vote down vote up
@Override
public ContainerId getContainerId() {
  if (this.containerId != null) {
    return this.containerId;
  }
  ContainerFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasContainerId()) {
    return null;
  }
  this.containerId = convertFromProtoFormat(p.getContainerId());
  return this.containerId;
}
 
Example #2
Source File: ContainerFinishDataPBImpl.java    From ambari-metrics with Apache License 2.0 5 votes vote down vote up
@Override
public String getDiagnosticsInfo() {
  ContainerFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasDiagnosticsInfo()) {
    return null;
  }
  return p.getDiagnosticsInfo();
}
 
Example #3
Source File: ContainerFinishDataPBImpl.java    From ambari-metrics with Apache License 2.0 5 votes vote down vote up
@Override
public ContainerState getContainerState() {
  ContainerFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasContainerState()) {
    return null;
  }
  return convertFromProtoFormat(p.getContainerState());
}
 
Example #4
Source File: ContainerFinishDataPBImpl.java    From hadoop with Apache License 2.0 5 votes vote down vote up
@Override
public ContainerId getContainerId() {
  if (this.containerId != null) {
    return this.containerId;
  }
  ContainerFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasContainerId()) {
    return null;
  }
  this.containerId = convertFromProtoFormat(p.getContainerId());
  return this.containerId;
}
 
Example #5
Source File: ContainerFinishDataPBImpl.java    From hadoop with Apache License 2.0 5 votes vote down vote up
@Override
public String getDiagnosticsInfo() {
  ContainerFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasDiagnosticsInfo()) {
    return null;
  }
  return p.getDiagnosticsInfo();
}
 
Example #6
Source File: ContainerFinishDataPBImpl.java    From hadoop with Apache License 2.0 5 votes vote down vote up
@Override
public ContainerState getContainerState() {
  ContainerFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasContainerState()) {
    return null;
  }
  return convertFromProtoFormat(p.getContainerState());
}
 
Example #7
Source File: ContainerFinishDataPBImpl.java    From big-c with Apache License 2.0 5 votes vote down vote up
@Override
public ContainerId getContainerId() {
  if (this.containerId != null) {
    return this.containerId;
  }
  ContainerFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasContainerId()) {
    return null;
  }
  this.containerId = convertFromProtoFormat(p.getContainerId());
  return this.containerId;
}
 
Example #8
Source File: ContainerFinishDataPBImpl.java    From big-c with Apache License 2.0 5 votes vote down vote up
@Override
public String getDiagnosticsInfo() {
  ContainerFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasDiagnosticsInfo()) {
    return null;
  }
  return p.getDiagnosticsInfo();
}
 
Example #9
Source File: ContainerFinishDataPBImpl.java    From big-c with Apache License 2.0 5 votes vote down vote up
@Override
public ContainerState getContainerState() {
  ContainerFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  if (!p.hasContainerState()) {
    return null;
  }
  return convertFromProtoFormat(p.getContainerState());
}
 
Example #10
Source File: ContainerFinishDataPBImpl.java    From ambari-metrics with Apache License 2.0 4 votes vote down vote up
@Override
public long getFinishTime() {
  ContainerFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  return p.getFinishTime();
}
 
Example #11
Source File: ContainerFinishDataPBImpl.java    From ambari-metrics with Apache License 2.0 4 votes vote down vote up
@Override
public int getContainerExitStatus() {
  ContainerFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  return p.getContainerExitStatus();
}
 
Example #12
Source File: ContainerFinishDataPBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
@Override
public long getFinishTime() {
  ContainerFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  return p.getFinishTime();
}
 
Example #13
Source File: ContainerFinishDataPBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
@Override
public int getContainerExitStatus() {
  ContainerFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  return p.getContainerExitStatus();
}
 
Example #14
Source File: ContainerFinishDataPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
@Override
public long getFinishTime() {
  ContainerFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  return p.getFinishTime();
}
 
Example #15
Source File: ContainerFinishDataPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
@Override
public int getContainerExitStatus() {
  ContainerFinishDataProtoOrBuilder p = viaProto ? proto : builder;
  return p.getContainerExitStatus();
}