You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by be...@apache.org on 2014/10/20 21:16:23 UTC

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

Repository: hadoop
Updated Branches:
  refs/heads/trunk d5084b9fa -> e4d6a8785


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


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/e4d6a878
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/e4d6a878
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/e4d6a878

Branch: refs/heads/trunk
Commit: e4d6a878541cc07fada2bd07dedc4740570a472e
Parents: d5084b9
Author: Benoy Antony <be...@apache.org>
Authored: Mon Oct 20 12:15:58 2014 -0700
Committer: Benoy Antony <be...@apache.org>
Committed: Mon Oct 20 12:15:58 2014 -0700

----------------------------------------------------------------------
 hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/e4d6a878/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs b/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs
index a5cb73c..e88ae08 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}"