You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "wilderchen (JIRA)" <ji...@apache.org> on 2018/07/27 00:37:00 UTC

[jira] [Created] (HDFS-13771) enableManagedDfsDirsRedundancy typo in creating MiniDFSCluster

wilderchen created HDFS-13771:
---------------------------------

             Summary: 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


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: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org