[ https://issues.apache.org/jira/browse/HDFS-15659?focusedWorklogId=508582&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-508582 ]
ASF GitHub Bot logged work on HDFS-15659: ----------------------------------------- Author: ASF GitHub Bot Created on: 06/Nov/20 19:57 Start Date: 06/Nov/20 19:57 Worklog Time Spent: 10m Work Description: amahussein removed a comment on pull request #2443: URL: https://github.com/apache/hadoop/pull/2443#issuecomment-723271151 This PR does the following: - MiniDFSCluster.Builder sets `dfs.namenode.redundancy.considerLoad ` to false by default. - a new method `Builder.setNNRedundancyConsiderLoad()` can be used to overwrite the default value in the conf. - removed explicit disabling of the flag in some Junits. Those were safe place to remove the disabling the flag, as the MiniDFSCluster is initialized directly after setting the configuration. - supercede changes done in #2410 #2404 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 508582) Time Spent: 2h 20m (was: 2h 10m) > Set dfs.namenode.redundancy.considerLoad to false in MiniDFSCluster > ------------------------------------------------------------------- > > Key: HDFS-15659 > URL: https://issues.apache.org/jira/browse/HDFS-15659 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: test > Reporter: Akira Ajisaka > Assignee: Ahmed Hussein > Priority: Major > Labels: pull-request-available > Time Spent: 2h 20m > Remaining Estimate: 0h > > dfs.namenode.redundancy.considerLoad is true by default and it is causing > many test failures. Let's disable it in MiniDFSCluster. > Originally reported by [~weichiu]: > https://github.com/apache/hadoop/pull/2410#pullrequestreview-516144442 > {quote} > i've certain seen this option causing test failures in the past. > Maybe we should turn it off by default in MiniDDFSCluster, and only enable it > for specific tests. > {quote} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org