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

This commit is contained in:
Benoy Antony 2014-10-20 12:15:58 -07:00
parent d5084b9fa3
commit e4d6a87854

View File

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