HDFS-7184. Allow data migration tool to run as a daemon. (Benoy Antony)
This commit is contained in:
parent
d5084b9fa3
commit
e4d6a87854
|
@ -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}"
|
||||||
|
|
Loading…
Reference in New Issue