hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tomwh...@apache.org
Subject svn commit: r527057 - in /lucene/hadoop/trunk: CHANGES.txt bin/hadoop
Date Tue, 10 Apr 2007 08:39:42 GMT
Author: tomwhite
Date: Tue Apr 10 01:39:40 2007
New Revision: 527057

URL: http://svn.apache.org/viewvc?view=rev&rev=527057
Log:
HADOOP-1114.  Respect user's classpath variable in hadoop script.  Contributed by Michael
Bieniosek.

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

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?view=diff&rev=527057&r1=527056&r2=527057
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Tue Apr 10 01:39:40 2007
@@ -137,6 +137,9 @@
 42. HADOOP-1219.  Ignore progress report once a task has reported as 
     'done'.  (Devaraj Das via tomwhite)
 
+43. HADOOP-1114.  Respect user's classpath variable in hadoop script.  
+    (Michael Bieniosek via tomwhite)
+
 
 Release 0.12.3 - 2007-04-06
 

Modified: lucene/hadoop/trunk/bin/hadoop
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/bin/hadoop?view=diff&rev=527057&r1=527056&r2=527057
==============================================================================
--- lucene/hadoop/trunk/bin/hadoop (original)
+++ lucene/hadoop/trunk/bin/hadoop Tue Apr 10 01:39:40 2007
@@ -79,7 +79,8 @@
 fi
 
 # CLASSPATH initially contains $HADOOP_CONF_DIR
-CLASSPATH="${HADOOP_CONF_DIR}"
+# respect previously set CLASSPATH
+CLASSPATH="${CLASSPATH}:${HADOOP_CONF_DIR}"
 CLASSPATH=${CLASSPATH}:$JAVA_HOME/lib/tools.jar
 
 # for developers, add Hadoop classes to CLASSPATH



Mime
View raw message