use of org.apache.hadoop.yarn.proto.YarnServerNodemanagerServiceProtos.LocalizerStatusProtoOrBuilder in project hadoop by apache.
the class LocalizerStatusPBImpl method initResources.
private void initResources() {
if (this.resources != null) {
return;
}
LocalizerStatusProtoOrBuilder p = viaProto ? proto : builder;
List<LocalResourceStatusProto> list = p.getResourcesList();
this.resources = new ArrayList<LocalResourceStatus>();
for (LocalResourceStatusProto c : list) {
this.resources.add(convertFromProtoFormat(c));
}
}
Aggregations