From 0774412e41856b4ed3eccfa9270165e216d10ab8 Mon Sep 17 00:00:00 2001 From: Anu Engineer Date: Fri, 17 Jun 2016 23:31:21 -0700 Subject: [PATCH] HDFS-10545. DiskBalancer: PlanCommand should use -fs instead of -uri to be consistent with other hdfs commands. Contributed by Anu Engineer. --- .../main/java/org/apache/hadoop/hdfs/tools/DiskBalancer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DiskBalancer.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DiskBalancer.java index 67703c4dc07..8a900bac59d 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DiskBalancer.java +++ b/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 { *

* 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. */