hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From omal...@apache.org
Subject svn commit: r1136661 - /hadoop/common/branches/branch-0.20-security/bin/hadoop
Date Thu, 16 Jun 2011 20:44:26 GMT
Author: omalley
Date: Thu Jun 16 20:44:26 2011
New Revision: 1136661

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

Modified:
    hadoop/common/branches/branch-0.20-security/bin/hadoop

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=1136661&r1=1136660&r2=1136661&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security/bin/hadoop (original)
+++ hadoop/common/branches/branch-0.20-security/bin/hadoop Thu Jun 16 20:44:26 2011
@@ -51,8 +51,8 @@ bin=`dirname "$0"`
 bin=`cd "$bin"; pwd`
 
 if [ "$HADOOP_HOME_WARN_SUPPRESS" == "" ] && [ "$HADOOP_HOME" != "" ]; then
-  echo "Warning: \$HADOOP_HOME is deprecated."
-  echo
+  echo "Warning: \$HADOOP_HOME is deprecated." 1>&2
+  echo 1>&2
 fi
 
 . "$bin"/../libexec/hadoop-config.sh



Mime
View raw message