hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From szets...@apache.org
Subject svn commit: r798247 - in /hadoop/common/trunk: CHANGES.txt bin/hadoop-config.sh
Date Mon, 27 Jul 2009 18:34:58 GMT
Author: szetszwo
Date: Mon Jul 27 18:34:57 2009
New Revision: 798247

URL: http://svn.apache.org/viewvc?rev=798247&view=rev
Log:
HADOOP-6123. Add missing classpaths in hadoop-config.sh.  Contributed by Sharad Agarwal

Modified:
    hadoop/common/trunk/CHANGES.txt
    hadoop/common/trunk/bin/hadoop-config.sh

Modified: hadoop/common/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/CHANGES.txt?rev=798247&r1=798246&r2=798247&view=diff
==============================================================================
--- hadoop/common/trunk/CHANGES.txt (original)
+++ hadoop/common/trunk/CHANGES.txt Mon Jul 27 18:34:57 2009
@@ -894,6 +894,9 @@
     HADOOP-6132. RPC client create an extra connection because of incorrect
     key for connection cache. (Kan Zhang via rangadi)
 
+    HADOOP-6123. Add missing classpaths in hadoop-config.sh.  (Sharad Agarwal
+    via szetszwo)
+
 Release 0.20.1 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/common/trunk/bin/hadoop-config.sh
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/bin/hadoop-config.sh?rev=798247&r1=798246&r2=798247&view=diff
==============================================================================
--- hadoop/common/trunk/bin/hadoop-config.sh (original)
+++ hadoop/common/trunk/bin/hadoop-config.sh Mon Jul 27 18:34:57 2009
@@ -135,6 +135,18 @@
   CLASSPATH=${CLASSPATH}:$f;
 done
 
+if [ -d "$HADOOP_CORE_HOME/build/ivy/lib/Hadoop-Core/common" ]; then
+for f in $HADOOP_CORE_HOME/build/ivy/lib/Hadoop-Core/common/*.jar; do
+  CLASSPATH=${CLASSPATH}:$f;
+done
+fi
+
+if [ -d "$HADOOP_CORE_HOME/build/ivy/lib/Hadoop-Hdfs/common" ]; then
+for f in $HADOOP_CORE_HOME/build/ivy/lib/Hadoop-Hdfs/common/*.jar; do
+  CLASSPATH=${CLASSPATH}:$f;
+done
+fi
+
 if [ -d "$HADOOP_CORE_HOME/build/ivy/lib/Hadoop/common" ]; then
 for f in $HADOOP_CORE_HOME/build/ivy/lib/Hadoop/common/*.jar; do
   CLASSPATH=${CLASSPATH}:$f;



Mime
View raw message