Package org.apache.hadoop.yarn.proto.YarnServerResourceManagerServiceProtos

Examples of org.apache.hadoop.yarn.proto.YarnServerResourceManagerServiceProtos.UpdateNodeResourceRequestProtoOrBuilder


  private void initNodeResourceMap() {
    if (this.nodeResourceMap != null) {
      return;
    }
    UpdateNodeResourceRequestProtoOrBuilder p = viaProto ? proto : builder;
    List<NodeResourceMapProto> list = p.getNodeResourceMapList();
    this.nodeResourceMap = new HashMap<NodeId, ResourceOption>(list
        .size());
    for (NodeResourceMapProto nodeResourceProto : list) {
      this.nodeResourceMap.put(convertFromProtoFormat(nodeResourceProto.getNodeId()),
          convertFromProtoFormat(nodeResourceProto.getResourceOption()));
View Full Code Here

TOP

Related Classes of org.apache.hadoop.yarn.proto.YarnServerResourceManagerServiceProtos.UpdateNodeResourceRequestProtoOrBuilder

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.