ISSUE-64. Hadoop 3.0 NN drops replicas silently.#65
ISSUE-64. Hadoop 3.0 NN drops replicas silently.#65jojochuang wants to merge 1 commit intolinkedin:masterfrom
Conversation
|
Great find, thanks @jojochuang ! Sorry for the delay in my response. Two questions:
|
|
Hi Eric,
|
|
I'm hesitant to merge this given that the consensus reached on HDFS-13671: Namenode deletes large dir slowly caused by FoldedTreeSet#removeAndGet regarding the changes in HDFS-9260 seems to be to revert it. I think that this at least needs to be an optionally-enabled feature rather than always-on |
Fixes #64
This PR changes blockMap of dyno DN from hash map to tree map. The fix was verified internally at Cloudera. Additional stress test will be needed to understand the performance impact of this change. But it is functionally correct for Hadoop 3.0/CDH5.7.