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 aw...@apache.org on 2015/02/12 20:51:43 UTC

hadoop git commit: HDFS-7322. deprecate sbin/hadoop-daemon.sh (aw)

Repository: hadoop
Updated Branches:
  refs/heads/trunk 04f5ef18f -> 58cb9f529


HDFS-7322. deprecate sbin/hadoop-daemon.sh (aw)


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

Branch: refs/heads/trunk
Commit: 58cb9f529381c420952eb307eabdfbca6c68a215
Parents: 04f5ef1
Author: Allen Wittenauer <aw...@apache.org>
Authored: Thu Feb 12 11:51:35 2015 -0800
Committer: Allen Wittenauer <aw...@apache.org>
Committed: Thu Feb 12 11:51:35 2015 -0800

----------------------------------------------------------------------
 hadoop-common-project/hadoop-common/src/main/bin/hadoop-daemon.sh | 3 +++
 hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt                       | 2 ++
 2 files changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/58cb9f52/hadoop-common-project/hadoop-common/src/main/bin/hadoop-daemon.sh
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/main/bin/hadoop-daemon.sh b/hadoop-common-project/hadoop-common/src/main/bin/hadoop-daemon.sh
index b60915c..a84e0e0 100755
--- a/hadoop-common-project/hadoop-common/src/main/bin/hadoop-daemon.sh
+++ b/hadoop-common-project/hadoop-common/src/main/bin/hadoop-daemon.sh
@@ -52,5 +52,8 @@ else
   hdfsscript="${HADOOP_HDFS_HOME}/bin/hdfs"
 fi
 
+hadoop_error "WARNING: Use of this script to ${daemonmode} HDFS daemons is deprecated."
+hadoop_error "WARNING: Attempting to execute replacement \"hdfs --daemon ${daemonmode}\" instead."
+
 exec "$hdfsscript" --config "${HADOOP_CONF_DIR}" --daemon "${daemonmode}" "$@"
 

http://git-wip-us.apache.org/repos/asf/hadoop/blob/58cb9f52/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
index f07da80..6e54428 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
@@ -139,6 +139,8 @@ Trunk (Unreleased)
     HDFS-316. Balancer should run for a configurable # of iterations (Xiaoyu
     Yao via aw)
 
+    HDFS-7322. deprecate sbin/hadoop-daemon.sh (aw)
+
   OPTIMIZATIONS
 
   BUG FIXES