hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject svn commit: r1136250 - in /hadoop/common/branches/branch-0.20-security: CHANGES.txt bin/hadoop
Date Wed, 15 Jun 2011 23:44:03 GMT
Author: omalley
Date: Wed Jun 15 23:44:03 2011
New Revision: 1136250

URL: http://svn.apache.org/viewvc?rev=1136250&view=rev
Log:
HADOOP-7398. Add mechanism to suppress warnings about use of HADOOP_HOME.
(omalley)

Modified:
    hadoop/common/branches/branch-0.20-security/CHANGES.txt
    hadoop/common/branches/branch-0.20-security/bin/hadoop

Modified: hadoop/common/branches/branch-0.20-security/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security/CHANGES.txt?rev=1136250&r1=1136249&r2=1136250&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security/CHANGES.txt (original)
+++ hadoop/common/branches/branch-0.20-security/CHANGES.txt Wed Jun 15 23:44:03 2011
@@ -166,6 +166,9 @@ Release 0.20.204.0 - unreleased
 
   IMPROVEMENTS
 
+    HADOOP-7398. Add mechanism to suppress warnings about use of HADOOP_HOME.
+    (omalley)
+
     HDFS-2023. Backport of NPE for File.list and File.listFiles.
     Merged ports of HADOOP-7322, HDFS-1934, HADOOP-7342, and HDFS-2019.
     (Bharath Mundlapudi via mattf)

Modified: hadoop/common/branches/branch-0.20-security/bin/hadoop
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security/bin/hadoop?rev=1136250&r1=1136249&r2=1136250&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security/bin/hadoop (original)
+++ hadoop/common/branches/branch-0.20-security/bin/hadoop Wed Jun 15 23:44:03 2011
@@ -50,7 +50,7 @@
 bin=`dirname "$0"`
 bin=`cd "$bin"; pwd`
 
-if [ "$HADOOP_HOME" != "" ]; then
+if [ "$HADOOP_HOME_WARN_SUPPRESS" == "" ] && [ "$HADOOP_HOME" != "" ]; then
   echo "Warning: \$HADOOP_HOME is deprecated."
   echo
 fi



Mime
View raw message