Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Sqoop, mail # dev - Review Request: SQOOP-508 Sqoop metastore cannot be started due to missing hsqldb jar file


Copy link to this message
-
Review Request: SQOOP-508 Sqoop metastore cannot be started due to missing hsqldb jar file
Cheolsoo Park 2012-06-25, 08:47

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/5548/
-----------------------------------------------------------

Review request for Sqoop, Bilung Lee and Jarek Cecho.
Description
-------

Since a hsqldb jar is not packed in the distribution tarball, sqoop-metastore fails with the following error:

12/06/25 01:15:46 WARN hsqldb.HsqldbMetaStore: The location for metastore data has not been explicitly set. Placing shared metastore files in /home/cheolsoo/.sqoop/shared-metastore.db
Exception in thread "main" java.lang.NoClassDefFoundError: org/hsqldb/Server
at org.apache.sqoop.metastore.hsqldb.HsqldbMetaStore.start(HsqldbMetaStore.java:111)
This addresses bug SQOOP-508.
    https://issues.apache.org/jira/browse/SQOOP-508
Diffs
-----

  /ivy.xml 1353422

Diff: https://reviews.apache.org/r/5548/diff/
Testing
-------

Verified that hsqldb-1.8.0.10.jar is included in the distribution tarball and metastore can be started as follows:

ant clean tar
cd build/sqoop-1.4.2-incubating-SNAPSHOT.bin__hadoop-0.23
./bin/sqoop metastore
Thanks,

Cheolsoo Park