use of org.apache.hadoop.yarn.proto.YarnServiceProtos.StartContainersRequestProtoOrBuilder in project hadoop by apache.
the class StartContainersRequestPBImpl method initLocalRequests.
private void initLocalRequests() {
StartContainersRequestProtoOrBuilder p = viaProto ? proto : builder;
List<StartContainerRequestProto> requestList = p.getStartContainerRequestList();
this.requests = new ArrayList<StartContainerRequest>();
for (StartContainerRequestProto r : requestList) {
this.requests.add(convertFromProtoFormat(r));
}
}
Aggregations