You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by Andrew Rothstein <an...@gmail.com> on 2010/07/06 00:00:53 UTC
classpath question
I've written a mapper that relies upon hsqldb-2.0. I had a tough time
determining that despite submitting my job with -libjars
hsqldb-2.0.jar my code was conflicted with the v1.8 jar that comes in
$HADOOP_HOME/lib/hsqldb-1.8.0.10.jar. Is there a way to promote the
v2.0 jar to the front of the class path for my tasks? I read on this
list that you can package dependent libraries inside your jar. Is that
the preferred way of getting around this? I looked at the hadoop code
and it doesn't seem to really be all that coupled to a particular
version of hsqldb. Has anyone had success using hsqldb, passing an
embedded database through the DistributedCache?
regards, Andrew