Ted,

Yea, I had checked the jar and the structure was correct, but I just found my 
issue. It turns out a specific class I was looking forward was in a jar in a 
directory that was not getting included by my build.xml.

Sorry about the mixup... problem solved.

Stu


-----Original Message-----
From: Ted Dunning <[EMAIL PROTECTED]>
Sent: Mon, July 23, 2007 6:36 pm
To: [email protected]
Subject: Re: Third-party Jars in MapReduce job


Have you actually cracked open your job jar with jar tvf to see that things
are in the right place?


On 7/23/07 3:17 PM, "Stu Hood"  wrote:
> 
> I'm working on a MapReduce job that requires some third-party jars. I know
> that the devs are working on
> [https://issues.apache.org/jira/browse/HADOOP-1622] HADOOP-1622, which
> should make this problem easy, but for now (and for backwards
> compatibility), how is this best accomplished?
> 
> I've tried adding the 3rd party jars to lib/ in my job-jar, so that the
> structure looks like so:
> META-INF
> us
> webmail
> hadoop
> mapred
> *
> lib
> third-party-one.jar
> third-party-two.jar
> 
> .. but no luck. The job fails saying that it can't find classes that are
> contained in the third party jars.

Reply via email to