use of org.apache.hadoop.yarn.proto.YarnServiceProtos.GetContainerStatusesRequestProtoOrBuilder in project hadoop by apache.
the class GetContainerStatusesRequestPBImpl method initLocalContainerIds.
private void initLocalContainerIds() {
if (this.containerIds != null) {
return;
}
GetContainerStatusesRequestProtoOrBuilder p = viaProto ? proto : builder;
List<ContainerIdProto> containerIds = p.getContainerIdList();
this.containerIds = new ArrayList<ContainerId>();
for (ContainerIdProto id : containerIds) {
this.containerIds.add(convertFromProtoFormat(id));
}
}
Aggregations