HADOOP-13717. Normalize daemonization behavior of the diskbalancer with 
balancer and mover.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/bd7f5911
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/bd7f5911
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/bd7f5911

Branch: refs/heads/YARN-5355
Commit: bd7f5911c726c505a654d5d30b7dc5a92dca05bd
Parents: 0cd22d6
Author: Andrew Wang <w...@apache.org>
Authored: Tue Nov 1 16:48:45 2016 -0700
Committer: Andrew Wang <w...@apache.org>
Committed: Tue Nov 1 16:48:45 2016 -0700

----------------------------------------------------------------------
 hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/bd7f5911/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs 
b/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs
index 2299980..2c59004 100755
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs
@@ -116,6 +116,7 @@ function hdfscmd_case
       HADOOP_CLASSNAME=org.apache.hadoop.hdfs.tools.DFSAdmin
     ;;
     diskbalancer)
+      HADOOP_SUBCMD_SUPPORTDAEMONIZATION="true"
       HADOOP_CLASSNAME=org.apache.hadoop.hdfs.tools.DiskBalancerCLI
     ;;
     envvars)


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to