YARN-11077. containersToClean not need to use TreeSet In RMNodeImpl
This commit is contained in:
parent
de526e166c
commit
dac0811c13
|
@ -163,8 +163,7 @@ public class RMNodeImpl implements RMNode, EventHandler<RMNodeEvent> {
|
||||||
new HashSet<ContainerId>();
|
new HashSet<ContainerId>();
|
||||||
|
|
||||||
/* set of containers that need to be cleaned */
|
/* set of containers that need to be cleaned */
|
||||||
private final Set<ContainerId> containersToClean = new TreeSet<ContainerId>(
|
private final Set<ContainerId> containersToClean = new HashSet<ContainerId>();
|
||||||
new ContainerIdComparator());
|
|
||||||
|
|
||||||
/* set of containers that need to be signaled */
|
/* set of containers that need to be signaled */
|
||||||
private final List<SignalContainerRequest> containersToSignal =
|
private final List<SignalContainerRequest> containersToSignal =
|
||||||
|
|
Loading…
Reference in New Issue