YARN-11077. containersToClean not need to use TreeSet In RMNodeImpl

This commit is contained in:
ChaosJu 2022-02-18 14:56:43 +08:00 committed by chaosju
parent de526e166c
commit dac0811c13
1 changed files with 1 additions and 2 deletions

View File

@ -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 =