sqoop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bilung Lee" <bleeapa...@gmail.com>
Subject Re: Review Request: SQOOP-508 Sqoop metastore cannot be started due to missing hsqldb jar file
Date Mon, 25 Jun 2012 17:34:22 GMT

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

Ship it!


Ship It!

- Bilung Lee


On June 25, 2012, 8:59 a.m., Cheolsoo Park wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/5548/
> -----------------------------------------------------------
> 
> (Updated June 25, 2012, 8:59 a.m.)
> 
> 
> 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:
> 
> Exception in thread "main" java.lang.NoClassDefFoundError: org/hsqldb/Server
> 	at org.apache.sqoop.metastore.hsqldb.HsqldbMetaStore.start(HsqldbMetaStore.java:111)
> 	at org.apache.sqoop.tool.MetastoreTool.run(MetastoreTool.java:57)
> 	at org.apache.sqoop.Sqoop.run(Sqoop.java:145)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
> 	at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:181)
> 	at org.apache.sqoop.Sqoop.runTool(Sqoop.java:220)
> 	at org.apache.sqoop.Sqoop.runTool(Sqoop.java:229)
> 	at org.apache.sqoop.Sqoop.main(Sqoop.java:238)
> 	at com.cloudera.sqoop.Sqoop.main(Sqoop.java:57)
> Caused by: java.lang.ClassNotFoundException: org.hsqldb.Server
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> 	... 9 more
> 
> 
> 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
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message