HDFS-8862. BlockManager#excessReplicateMap should use a HashMap. (yliu)
This commit is contained in:
parent
85cb596e2e
commit
076c688780
|
@ -472,6 +472,8 @@ Release 2.8.0 - UNRELEASED
|
|||
HDFS-8845. DiskChecker should not traverse the entire tree (Chang Li via
|
||||
Colin P. McCabe)
|
||||
|
||||
HDFS-8862. BlockManager#excessReplicateMap should use a HashMap. (yliu)
|
||||
|
||||
BUG FIXES
|
||||
|
||||
HDFS-8091: ACLStatus and XAttributes should be presented to
|
||||
|
|
|
@ -33,7 +33,6 @@ import java.util.List;
|
|||
import java.util.Map;
|
||||
import java.util.Queue;
|
||||
import java.util.Set;
|
||||
import java.util.TreeMap;
|
||||
import java.util.TreeSet;
|
||||
import java.util.concurrent.ThreadLocalRandom;
|
||||
import java.util.concurrent.atomic.AtomicLong;
|
||||
|
@ -203,7 +202,7 @@ public class BlockManager implements BlockStatsMXBean {
|
|||
* DataNode. We'll eventually remove these extras.
|
||||
*/
|
||||
public final Map<String, LightWeightLinkedSet<Block>> excessReplicateMap =
|
||||
new TreeMap<String, LightWeightLinkedSet<Block>>();
|
||||
new HashMap<>();
|
||||
|
||||
/**
|
||||
* Store set of Blocks that need to be replicated 1 or more times.
|
||||
|
|
Loading…
Reference in New Issue