Ver código fonte

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

Andrew Wang 8 anos atrás
pai
commit
bd7f5911c7
1 arquivos alterados com 1 adições e 0 exclusões
  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)