Browse Source

HDFS-10545. DiskBalancer: PlanCommand should use -fs instead of -uri to be consistent with other hdfs commands. Contributed by Anu Engineer.

Anu Engineer 9 years ago
parent
commit
0774412e41

+ 1 - 1
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DiskBalancer.java

@@ -60,7 +60,7 @@ public class DiskBalancer extends Configured implements Tool {
    * <p>
    * hdfs://namenode.uri or file:///data/myCluster.json
    */
-  public static final String NAMENODEURI = "uri";
+  public static final String NAMENODEURI = "fs";
   /**
    * Computes a plan for a given set of nodes.
    */