That may be where I'm going wrong.
I generated the Jar from Eclipse> using the Export 'Runnable Jar File', then 
selected 'extract required libraries into generated Jar'.

Is there any documentation around on how to do this correctly?

Regards

Stuart


-----Original Message-----
From: Lars George [mailto:[email protected]] 
Sent: 27 January 2011 09:21
To: [email protected]
Subject: Re: No job jar file set Map Reduce Job

Hi Stuart,

Looks good to me though. And RowCount is also the class you are working on, 
right? Maybe it is in your packaging? How do you pack this up into a job jar?

Lars

On Thu, Jan 27, 2011 at 8:10 AM, Stuart Scott <[email protected]> wrote:
> Hi Lars,
>
> Thanks for your reply.
> Yes, I've got this in my code as below.. (I'm new to Map Reduce-so I'm 
> probably doing something silly).
>
> Stuart
>
> public static Job createSubmittableJob(Configuration conf) throws 
> IOException {
>        String tablename="CLALL";
>        Job job=new Job(conf,NAME+"_"+tablename);
>        job.setJarByClass(RowCount.class);
>
>
> -----Original Message-----
> From: Lars George [mailto:[email protected]]
> Sent: 27 January 2011 07:07
> To: [email protected]
> Subject: Re: No job jar file set Map Reduce Job
>
> Hi Stuart,
>
> Do you have the usual
>
>    job.setJarByClass(<Your-Job-Classname>.class);
>
> ?
>
> Lars
>
> On Thu, Jan 27, 2011 at 7:53 AM, Stack <[email protected]> wrote:
>> Does the job run anyway?
>> St.Ack
>>
>> On Wed, Jan 26, 2011 at 10:43 PM, Stuart Scott <[email protected]> 
>> wrote:
>>> Hi,
>>>
>>>
>>>
>>> Has anyone come across the error below? Any ideas how to resolve this?
>>>
>>>
>>>
>>> Regards
>>>
>>>
>>>
>>> Stuart
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> Starting Job
>>>
>>> 11/01/27 06:37:42 WARN mapred.JobClient: No job jar file set.  User 
>>> classes may not be found. See JobConf(Class) or JobConf#setJar(String).
>>>
>>>
>>>
>>>
>>
>

Reply via email to