hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r382112 - /lucene/hadoop/trunk/bin/hadoop
Date Wed, 01 Mar 2006 18:18:23 GMT
Author: cutting
Date: Wed Mar  1 10:18:22 2006
New Revision: 382112

URL: http://svn.apache.org/viewcvs?rev=382112&view=rev
Log:
Add webapps to classpath so they're found.

Modified:
    lucene/hadoop/trunk/bin/hadoop

Modified: lucene/hadoop/trunk/bin/hadoop
URL: http://svn.apache.org/viewcvs/lucene/hadoop/trunk/bin/hadoop?rev=382112&r1=382111&r2=382112&view=diff
==============================================================================
--- lucene/hadoop/trunk/bin/hadoop (original)
+++ lucene/hadoop/trunk/bin/hadoop Wed Mar  1 10:18:22 2006
@@ -92,7 +92,10 @@
 # so that filenames w/ spaces are handled correctly in loops below
 IFS=
 
-# for releases, add Hadoop jar to CLASSPATH
+# for releases, add hadoop jars & webapps to CLASSPATH
+if [ -d "$HADOOP_HOME/webapps" ]; then
+  CLASSPATH=${CLASSPATH}:$HADOOP_HOME
+fi
 for f in $HADOOP_HOME/hadoop-*.jar; do
   CLASSPATH=${CLASSPATH}:$f;
 done



Mime
View raw message