Package org.apache.hadoop.yarn.proto.YarnServiceProtos

Examples of org.apache.hadoop.yarn.proto.YarnServiceProtos.GetDelegationTokenResponseProtoOrBuilder


    viaProto = true;
  }

  @Override
  public DelegationToken getRMDelegationToken() {
    GetDelegationTokenResponseProtoOrBuilder p = viaProto ? proto : builder;
    if (this.appToken != null) {
      return this.appToken;
    }
    if (!p.hasApplicationToken()) {
      return null;
    }
    this.appToken = convertFromProtoFormat(p.getApplicationToken());
    return this.appToken; 
  }
View Full Code Here

TOP

Related Classes of org.apache.hadoop.yarn.proto.YarnServiceProtos.GetDelegationTokenResponseProtoOrBuilder

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.