Explorar el Código

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

Benoy Antony hace 10 años
padre
commit
e4d6a87854
Se han modificado 1 ficheros con 1 adiciones y 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}"