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

The following examples show how to use org.apache.hadoop.yarn.proto.YarnProtos.ApplicationAttemptIdProto. 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: ApplicationAttemptIdPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
public ApplicationAttemptIdPBImpl(ApplicationAttemptIdProto proto) {
  this.proto = proto;
  this.applicationId = convertFromProtoFormat(proto.getApplicationId());
}
 
Example #2
Source File: AMInfoPBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
private
    ApplicationAttemptIdProto convertToProtoFormat(ApplicationAttemptId t) {
  return ((ApplicationAttemptIdPBImpl) t).getProto();
}
 
Example #3
Source File: GetContainersRequestPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private ApplicationAttemptIdPBImpl convertFromProtoFormat(
    ApplicationAttemptIdProto p) {
  return new ApplicationAttemptIdPBImpl(p);
}
 
Example #4
Source File: GetContainersRequestPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private ApplicationAttemptIdProto
    convertToProtoFormat(ApplicationAttemptId t) {
  return ((ApplicationAttemptIdPBImpl) t).getProto();
}
 
Example #5
Source File: GetApplicationAttemptReportRequestPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private ApplicationAttemptIdPBImpl convertFromProtoFormat(
    ApplicationAttemptIdProto p) {
  return new ApplicationAttemptIdPBImpl(p);
}
 
Example #6
Source File: GetApplicationAttemptReportRequestPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private ApplicationAttemptIdProto
    convertToProtoFormat(ApplicationAttemptId t) {
  return ((ApplicationAttemptIdPBImpl) t).getProto();
}
 
Example #7
Source File: ApplicationAttemptReportPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private ApplicationAttemptIdProto
    convertToProtoFormat(ApplicationAttemptId t) {
  return ((ApplicationAttemptIdPBImpl) t).getProto();
}
 
Example #8
Source File: ApplicationAttemptReportPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private ApplicationAttemptIdPBImpl convertFromProtoFormat(
    ApplicationAttemptIdProto applicationAttemptId) {
  return new ApplicationAttemptIdPBImpl(applicationAttemptId);
}
 
Example #9
Source File: ContainerIdPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private ApplicationAttemptIdPBImpl convertFromProtoFormat(
    ApplicationAttemptIdProto p) {
  return new ApplicationAttemptIdPBImpl(p);
}
 
Example #10
Source File: ContainerIdPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private ApplicationAttemptIdProto convertToProtoFormat(
    ApplicationAttemptId t) {
  return ((ApplicationAttemptIdPBImpl)t).getProto();
}
 
Example #11
Source File: ApplicationAttemptIdPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
public ApplicationAttemptIdPBImpl() {
  builder = ApplicationAttemptIdProto.newBuilder();
}
 
Example #12
Source File: AMInfoPBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
private ApplicationAttemptIdPBImpl convertFromProtoFormat(
    ApplicationAttemptIdProto p) {
  return new ApplicationAttemptIdPBImpl(p);
}
 
Example #13
Source File: ApplicationAttemptIdPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
public ApplicationAttemptIdProto getProto() {
  return proto;
}
 
Example #14
Source File: ApplicationReportPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private ApplicationAttemptIdProto convertToProtoFormat(ApplicationAttemptId t) {
  return ((ApplicationAttemptIdPBImpl) t).getProto();
}
 
Example #15
Source File: ApplicationReportPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private ApplicationAttemptIdPBImpl convertFromProtoFormat(
    ApplicationAttemptIdProto applicationAttemptId) {
  return new ApplicationAttemptIdPBImpl(applicationAttemptId);
}
 
Example #16
Source File: ApplicationAttemptStartDataPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private ApplicationAttemptIdPBImpl convertFromProtoFormat(
    ApplicationAttemptIdProto applicationAttemptId) {
  return new ApplicationAttemptIdPBImpl(applicationAttemptId);
}
 
Example #17
Source File: ApplicationAttemptStartDataPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private ApplicationAttemptIdProto convertToProtoFormat(
    ApplicationAttemptId applicationAttemptId) {
  return ((ApplicationAttemptIdPBImpl) applicationAttemptId).getProto();
}
 
Example #18
Source File: ApplicationAttemptFinishDataPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private ApplicationAttemptIdPBImpl convertFromProtoFormat(
    ApplicationAttemptIdProto applicationAttemptId) {
  return new ApplicationAttemptIdPBImpl(applicationAttemptId);
}
 
Example #19
Source File: ApplicationAttemptFinishDataPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private ApplicationAttemptIdProto convertToProtoFormat(
    ApplicationAttemptId applicationAttemptId) {
  return ((ApplicationAttemptIdPBImpl) applicationAttemptId).getProto();
}
 
Example #20
Source File: AMInfoPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private ApplicationAttemptIdPBImpl convertFromProtoFormat(
    ApplicationAttemptIdProto p) {
  return new ApplicationAttemptIdPBImpl(p);
}
 
Example #21
Source File: AMInfoPBImpl.java    From big-c with Apache License 2.0 4 votes vote down vote up
private
    ApplicationAttemptIdProto convertToProtoFormat(ApplicationAttemptId t) {
  return ((ApplicationAttemptIdPBImpl) t).getProto();
}
 
Example #22
Source File: ContainerIdPBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
private ApplicationAttemptIdProto convertToProtoFormat(
    ApplicationAttemptId t) {
  return ((ApplicationAttemptIdPBImpl)t).getProto();
}
 
Example #23
Source File: ApplicationAttemptStartDataPBImpl.java    From ambari-metrics with Apache License 2.0 4 votes vote down vote up
private ApplicationAttemptIdProto convertToProtoFormat(
    ApplicationAttemptId applicationAttemptId) {
  return ((ApplicationAttemptIdPBImpl) applicationAttemptId).getProto();
}
 
Example #24
Source File: ApplicationAttemptFinishDataPBImpl.java    From ambari-metrics with Apache License 2.0 4 votes vote down vote up
private ApplicationAttemptIdPBImpl convertFromProtoFormat(
    ApplicationAttemptIdProto applicationAttemptId) {
  return new ApplicationAttemptIdPBImpl(applicationAttemptId);
}
 
Example #25
Source File: ApplicationAttemptFinishDataPBImpl.java    From ambari-metrics with Apache License 2.0 4 votes vote down vote up
private ApplicationAttemptIdProto convertToProtoFormat(
    ApplicationAttemptId applicationAttemptId) {
  return ((ApplicationAttemptIdPBImpl) applicationAttemptId).getProto();
}
 
Example #26
Source File: GetContainersRequestPBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
private ApplicationAttemptIdPBImpl convertFromProtoFormat(
    ApplicationAttemptIdProto p) {
  return new ApplicationAttemptIdPBImpl(p);
}
 
Example #27
Source File: GetContainersRequestPBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
private ApplicationAttemptIdProto
    convertToProtoFormat(ApplicationAttemptId t) {
  return ((ApplicationAttemptIdPBImpl) t).getProto();
}
 
Example #28
Source File: GetApplicationAttemptReportRequestPBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
private ApplicationAttemptIdPBImpl convertFromProtoFormat(
    ApplicationAttemptIdProto p) {
  return new ApplicationAttemptIdPBImpl(p);
}
 
Example #29
Source File: GetApplicationAttemptReportRequestPBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
private ApplicationAttemptIdProto
    convertToProtoFormat(ApplicationAttemptId t) {
  return ((ApplicationAttemptIdPBImpl) t).getProto();
}
 
Example #30
Source File: ApplicationAttemptReportPBImpl.java    From hadoop with Apache License 2.0 4 votes vote down vote up
private ApplicationAttemptIdProto
    convertToProtoFormat(ApplicationAttemptId t) {
  return ((ApplicationAttemptIdPBImpl) t).getProto();
}