Browse Source

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

Andrew Wang 8 years ago
parent
commit
bd7f5911c7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs

+ 1 - 0
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)