HDFS-8862. BlockManager#excessReplicateMap should use a HashMap. (yliu)
This commit is contained in:
parent
51a00964da
commit
71566e2382
@ -820,6 +820,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-7501. TransactionsSinceLastCheckpoint can be negative on SBNs.
|
||||
|
@ -33,7 +33,6 @@
|
||||
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;
|
||||
@ -204,7 +203,7 @@ public int getPendingDataNodeMessageCount() {
|
||||
* 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
Block a user