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