hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject svn commit: r1152389 - in /hadoop/common/trunk/common: CHANGES.txt bin/hadoop
Date Fri, 29 Jul 2011 22:13:16 GMT
Author: eli
Date: Fri Jul 29 22:13:15 2011
New Revision: 1152389

URL: http://svn.apache.org/viewvc?rev=1152389&view=rev
Log:
HADOOP-7491. hadoop command should respect HADOOP_OPTS when given a class name. Contributed
by Eli Collins

Modified:
    hadoop/common/trunk/common/CHANGES.txt
    hadoop/common/trunk/common/bin/hadoop

Modified: hadoop/common/trunk/common/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/common/CHANGES.txt?rev=1152389&r1=1152388&r2=1152389&view=diff
==============================================================================
--- hadoop/common/trunk/common/CHANGES.txt (original)
+++ hadoop/common/trunk/common/CHANGES.txt Fri Jul 29 22:13:15 2011
@@ -294,6 +294,9 @@ Trunk (unreleased changes)
 
     HADOOP-7474. Refactor ClientCache out of WritableRpcEngine. (jitendra)
 
+    HADOOP-7491. hadoop command should respect HADOOP_OPTS when given
+    a class name. (eli)
+    
   OPTIMIZATIONS
   
     HADOOP-7333. Performance improvement in PureJavaCrc32. (Eric Caspole

Modified: hadoop/common/trunk/common/bin/hadoop
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/common/bin/hadoop?rev=1152389&r1=1152388&r2=1152389&view=diff
==============================================================================
--- hadoop/common/trunk/common/bin/hadoop (original)
+++ hadoop/common/trunk/common/bin/hadoop Fri Jul 29 22:13:15 2011
@@ -118,6 +118,7 @@ case $COMMAND in
         echo "Error: No command named \`$COMMAND' was found. Perhaps you meant \`hadoop ${COMMAND#-}'"
         exit 1
     else
+      HADOOP_OPTS="$HADOOP_OPTS $HADOOP_CLIENT_OPTS"
       CLASS=$COMMAND
     fi
     shift



Mime
View raw message