[
https://issues.apache.org/jira/browse/HDFS-13771?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16559310#comment-16559310
]
wilderchen commented on HDFS-13771:
-----------------------------------
I have created a PR on github with the following link address:
https://github.com/apache/hadoop/pull/404
> enableManagedDfsDirsRedundancy typo in creating MiniDFSCluster
> --------------------------------------------------------------
>
> Key: HDFS-13771
> URL: https://issues.apache.org/jira/browse/HDFS-13771
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs
> Affects Versions: 3.0.3
> Reporter: wilderchen
> Priority: Minor
>
> There is a typo (wrong parameter) happens on the function
> "initNameNodeConf" while calling "configureNameService" in file,
> "hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/MiniDFSCluster.java".
> * prototype of initNameNodeConf is "void initNameNodeConf(Configuration
> conf, String nameserviceId, int nsIndex, String nnId, boolean
> manageNameDfsDirs, boolean enableManagedDfsDirsRedundancy, int nnIndex)"
> * the function call of initNameNodeConf in configureNameService is
> "initNameNodeConf(conf, nsId, nsCounter, nn.getNnId(), manageNameDfsDirs,
> manageNameDfsDirs, nnIndex)"
> * expect function call to be "initNameNodeConf(conf, nsId, nsCounter,
> nn.getNnId(), manageNameDfsDirs, enableManagedDfsDirsRedundancy, nnIndex)"
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]