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

Switch to Threaded View
Accumulo, mail # user - AcculumoFileOutputFormat class cannot be found by child jvm


Copy link to this message
-
RE: AcculumoFileOutputFormat class cannot be found by child jvm
Bob.Thorman@... 2012-05-23, 16:07
Attached are the contents of the job.jar and job.xml and the taskTracker directory (job number changed because the GC removed the contents before I could copy/paste)

-----Original Message-----
From: Billie J Rinaldi [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 23, 2012 08:18
To: Thorman, Bob @ ISG - ComCept
Subject: Re: AcculumoFileOutputFormat class cannot be found by child jvm

On Tuesday, May 22, 2012 6:21:28 PM, "Bob Thorman" <[EMAIL PROTECTED]> wrote:
> Here is the exec string. As you can see the illusive jars are on the
> list, but the child jvm didn't get the memo on where they are. The
> jars did not appear in the taskTracker or JobTracker directories. The
> paths are correct to the jar files on the local file system.
>
> exec /cloudbase/hadoop-0.20.2/bin/hadoop jar
> /mnt/hgfs/CSI.Cloudbase/Java/CloudbaseServices/out/artifacts/Cloudbase
> Ingesters/CloudbaseIngesters.jar
> com.comcept.cloudbase.ingesters.placemarks.PlacemarkIngester -libjars
> "/cloudbase/accumulo-1.4.0/lib/libthrift-0.6.1.jar,/cloudbase/accumulo-1.4.0/lib/accumulo-core-1.4.0.jar,/cloudbase/zookeeper-3.4.3/zookeeper-3.4.3.jar,/cloudbase/accumulo-1.4.0/lib/cloudtrace-1.4.0.jar,/mnt/hgfs/CSI.Cloudbase/Java/CloudbaseServices/out/artifacts/CloudbaseIngesters/CloudbaseIngesters.jar,/usr/lib/ncct/kxml2-2.3.0.jar,/usr/lib/ncct/xmlpull-1.1.3.1.jar,/usr/lib/ncct/xstream-1.4.1.jar,/cloudbase/accumulo-1.4.0/lib/accumulo-core-1.4.0.jar,/cloudbase/accumulo-1.4.0/lib/commons-collections-3.2.jar,/cloudbase/accumulo-1.4.0/lib/commons-configuration-1.5.jar,/cloudbase/accumulo-1.4.0/lib/commons-io-1.4.jar,/cloudbase/accumulo-1.4.0/lib/commons-jci-core-1.0.jar,/cloudbase/accumulo-1.4.0/lib/commons-jci-fam-1.0.jar,/cloudbase/accumulo-1.4.0/lib/commons-lang-2.4.jar,/cloudbase/accumulo-1.4.0/lib/commons-logging-1.0.4.jar,/cloudbase/accumulo-1.4.0/lib/commons-logging-api-1.0.4.jar"

The libjars string looks ok, assuming all those jars exist in those locations.  Can you identify what subset of these jars made it into the MapReduce config?  That might tell us where the error is occurring.

Billie
> When I set up a DistributedCache on hdfs:// and added these jars to
> the job configuration the child jvm found them just fine.
>
> -----Original Message-----
> From: Billie J Rinaldi [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 22, 2012 16:50
> To: [EMAIL PROTECTED]
> Subject: Re: AcculumoFileOutputFormat class cannot be found by child
> jvm
>
> On Tuesday, May 22, 2012 2:19:34 PM, "John Vines"
> <[EMAIL PROTECTED]> wrote:
> > I'm wondering if our tool.sh plays nice with an explicit -libjars.
>
> It looks like tool.sh is attempting to parse explicit libjars, but it
> might not be working correctly. The second-to-last line of tool.sh is
>
> #echo exec "$HADOOP_HOME/bin/hadoop" jar "$TOOLJAR" $CLASSNAME
> -libjars \"$LIB_JARS\" $ARGS
>
> If you could uncomment this line and send us what it displays, it
> might give us some insight into where tool.sh is going wrong. The
> -libjars are supposed to include the user-specified libjars as well as
> accumulo-core, zookeeper, etc.
>
> Billie
>
>
> > John
> >
> >
> > On Tue, May 22, 2012 at 2:07 PM, William Slacum < [EMAIL PROTECTED]
> > >
> > wrote:
> >
> >
> > Make sure that the paths you pass to `-libjars` are correct. I have
> > noticed behavior with Hadoop where it will silently drop the end of
> > a libjars string if the paths do not exist.
> >
> >
> >
> > On Tue, May 22, 2012 at 11:03 AM, Keith Turner < [EMAIL PROTECTED] >
> > wrote:
> > > I think it should be in the job.xml file. The way the class path
> > > for the java program that starts map reduce is configured is
> > > different from how the classpath for the remote task are
> > > configured. So your program that starts the map reduce job has
> > > AccumuloFileOutputFormat on the class path because you use a
> > > static method on it and it runs.
> > > So I am thinking its not in --libjars for some reason or maybe you