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