5
0
mirror of https://github.com/apache/sqoop.git synced 2025-05-02 05:12:08 +08:00

SQOOP-524. hsqldb jar update regression.

(Abhijeet Gaikwad via Jarek Jarcec Cecho)


git-svn-id: https://svn.apache.org/repos/asf/sqoop/trunk@1367608 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jarek Jarcec Cecho 2012-07-31 15:15:35 +00:00
parent 8e0be7cc59
commit 47f1ef75ab
2 changed files with 9 additions and 1 deletions

View File

@ -113,6 +113,14 @@ if [ ! -z "$SQOOP_USER_CLASSPATH" ]; then
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

View File

@ -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" />