use of org.apache.hadoop.yarn.proto.YarnServiceProtos.SignalContainerRequestProto in project hadoop by apache.
the class NodeHeartbeatResponsePBImpl method initContainersToSignal.
private void initContainersToSignal() {
if (this.containersToSignal != null) {
return;
}
NodeHeartbeatResponseProtoOrBuilder p = viaProto ? proto : builder;
List<SignalContainerRequestProto> list = p.getContainersToSignalList();
this.containersToSignal = new ArrayList<SignalContainerRequest>();
for (SignalContainerRequestProto c : list) {
this.containersToSignal.add(convertFromProtoFormat(c));
}
}
Aggregations