hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From z..@apache.org
Subject [02/50] [abbrv] hadoop git commit: HDFS-7322. deprecate sbin/hadoop-daemon.sh (aw)
Date Mon, 16 Feb 2015 18:31:09 GMT
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/52eb87bb
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/52eb87bb
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/52eb87bb

Branch: refs/heads/HDFS-7285
Commit: 52eb87bb425312043317450704d5645418cca4f8
Parents: cf4b6c6
Author: Allen Wittenauer <aw@apache.org>
Authored: Thu Feb 12 11:51:35 2015 -0800
Committer: Zhe Zhang <zhz@apache.org>
Committed: Mon Feb 16 10:29:46 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/52eb87bb/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/52eb87bb/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


Mime
View raw message