Explorar o código

HDFS-7184. Allow data migration tool to run as a daemon. (Benoy Antony)

Benoy Antony %!s(int64=10) %!d(string=hai) anos
pai
achega
e4d6a87854
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs

+ 1 - 0
hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs

@@ -164,6 +164,7 @@ case ${COMMAND} in
     CLASS=org.apache.hadoop.hdfs.tools.snapshot.LsSnapshottableDir
   ;;
   mover)
+    daemon="true"
     CLASS=org.apache.hadoop.hdfs.server.mover.Mover
     hadoop_debug "Appending HADOOP_MOVER_OPTS onto HADOOP_OPTS"
     HADOOP_OPTS="${HADOOP_OPTS} ${HADOOP_MOVER_OPTS}"