Package org.apache.hadoop.yarn.proto.YarnProtos

Examples of org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProtoOrBuilder


  }
   
 
  @Override
  public synchronized int getId() {
    ContainerIdProtoOrBuilder p = viaProto ? proto : builder;
    return (p.getId());
  }
View Full Code Here


  }


  @Override
  public synchronized ApplicationAttemptId getApplicationAttemptId() {
    ContainerIdProtoOrBuilder p = viaProto ? proto : builder;
    if (this.applicationAttemptId != null) {
      return this.applicationAttemptId;
    }
    if (!p.hasAppAttemptId()) {
      return null;
    }
    this.applicationAttemptId = convertFromProtoFormat(p.getAppAttemptId());
    return this.applicationAttemptId;
  }
View Full Code Here

TOP

Related Classes of org.apache.hadoop.yarn.proto.YarnProtos.ContainerIdProtoOrBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.