sqoop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jar...@apache.org
Subject svn commit: r1367608 - in /sqoop/trunk: bin/configure-sqoop ivy.xml
Date Tue, 31 Jul 2012 15:15:35 GMT
Author: jarcec
Date: Tue Jul 31 15:15:35 2012
New Revision: 1367608

URL: http://svn.apache.org/viewvc?rev=1367608&view=rev
Log:
SQOOP-524. hsqldb jar update regression.

(Abhijeet Gaikwad via Jarek Jarcec Cecho)

Modified:
    sqoop/trunk/bin/configure-sqoop
    sqoop/trunk/ivy.xml

Modified: sqoop/trunk/bin/configure-sqoop
URL: http://svn.apache.org/viewvc/sqoop/trunk/bin/configure-sqoop?rev=1367608&r1=1367607&r2=1367608&view=diff
==============================================================================
--- sqoop/trunk/bin/configure-sqoop (original)
+++ sqoop/trunk/bin/configure-sqoop Tue Jul 31 15:15:35 2012
@@ -113,6 +113,14 @@ if [ ! -z "$SQOOP_USER_CLASSPATH" ]; the
   export HADOOP_CLASSPATH="${SQOOP_USER_CLASSPATH}:${HADOOP_CLASSPATH}"
 fi
 
+#Sqoop execution faces Class loading issue due to conflicting hsqldb 
+#jar versions in Sqoop(hsqldb-2.2.8) and Hadoop(hsqldb-1.8.0.10). 
+#Setting HADOOP_USER_CLASSPATH_FIRST to true adds Sqoop's classpath
+#(consequently, hsqldb-2.2.8.jar) before Hadoop's and resolves the issue. 
+#Refer SQOOP-524 JIRA for more details. 
+HADOOP_USER_CLASSPATH_FIRST=true
+
+export HADOOP_USER_CLASSPATH_FIRST
 export SQOOP_CLASSPATH
 export SQOOP_CONF_DIR
 export SQOOP_JAR_DIR

Modified: sqoop/trunk/ivy.xml
URL: http://svn.apache.org/viewvc/sqoop/trunk/ivy.xml?rev=1367608&r1=1367607&r2=1367608&view=diff
==============================================================================
--- sqoop/trunk/ivy.xml (original)
+++ sqoop/trunk/ivy.xml Tue Jul 31 15:15:35 2012
@@ -74,7 +74,6 @@ under the License.
       rev="${hadoop.version}" conf="hadoop23->default">
       <artifact name="hadoop-common" type="jar" />
       <artifact name="hadoop-common" type="jar" m:classifier="tests"/>
-      <exclude org="hsqldb" module="hsqldb"/>
     </dependency>
     <dependency org="org.apache.hadoop" name="hadoop-hdfs"
       rev="${hadoop.version}" conf="hadoop23->default">
@@ -150,6 +149,7 @@ under the License.
       <exclude org="com.cloudera.cdh" module="zookeeper-ant" />
     </dependency>
 
+    <exclude org="hsqldb" module="hsqldb"/>
     <exclude org="org.apache.hadoop" module="avro"/>
     <exclude org="commons-daemon" module="commons-daemon" />
 



Mime
View raw message