From e4d6a878541cc07fada2bd07dedc4740570a472e Mon Sep 17 00:00:00 2001 From: Benoy Antony Date: Mon, 20 Oct 2014 12:15:58 -0700 Subject: [PATCH] HDFS-7184. Allow data migration tool to run as a daemon. (Benoy Antony) --- hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs | 1 + 1 file changed, 1 insertion(+) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs b/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs index a5cb73c438..e88ae08e19 100755 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs +++ b/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}"