use of org.apache.hadoop.yarn.proto.YarnServiceProtos.UpdateContainerRequestProto in project hadoop by apache.
the class AllocateRequestPBImpl method initUpdateRequests.
private void initUpdateRequests() {
if (this.updateRequests != null) {
return;
}
AllocateRequestProtoOrBuilder p = viaProto ? proto : builder;
List<UpdateContainerRequestProto> list = p.getUpdateRequestsList();
this.updateRequests = new ArrayList<>();
for (UpdateContainerRequestProto c : list) {
this.updateRequests.add(convertFromProtoFormat(c));
}
}
Aggregations