Quellcode durchsuchen

HADOOP-7398. Suppress warnings about use of HADOOP_HOME. (omalley)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20-security-204@1136669 13f79535-47bb-0310-9956-ffa450edef68
Owen O'Malley vor 14 Jahren
Ursprung
Commit
9a97271edd
2 geänderte Dateien mit 2 neuen und 5 gelöschten Zeilen
  1. 2 0
      CHANGES.txt
  2. 0 5
      bin/hadoop

+ 2 - 0
CHANGES.txt

@@ -81,6 +81,8 @@ Release 0.20.204.0 - unreleased
 
   IMPROVEMENTS
 
+    HADOOP-7398. Suppress warnings about use of HADOOP_HOME. (omalley)
+
     MAPREDUCE-2415. Distribute the user task logs on to multiple disks.
     (Bharath Mundlapudi via omalley)
 

+ 0 - 5
bin/hadoop

@@ -50,11 +50,6 @@
 bin=`dirname "$0"`
 bin=`cd "$bin"; pwd`
 
-if [ "$HADOOP_HOME" != "" ]; then
-  echo "Warning: \$HADOOP_HOME is deprecated."
-  echo
-fi
-
 . "$bin"/../libexec/hadoop-config.sh
 
 cygwin=false