hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stuart Scott" <Stuart.Sc...@e-mis.com>
Subject RE: No job jar file set Map Reduce Job
Date Thu, 27 Jan 2011 10:07:29 GMT
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:lars.george@gmail.com] 
Sent: 27 January 2011 09:21
To: user@hbase.apache.org
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 <Stuart.Scott@e-mis.com> 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:lars.george@gmail.com]
> Sent: 27 January 2011 07:07
> To: user@hbase.apache.org
> 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 <stack@duboce.net> wrote:
>> Does the job run anyway?
>> St.Ack
>>
>> On Wed, Jan 26, 2011 at 10:43 PM, Stuart Scott <Stuart.Scott@e-mis.com> 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).
>>>
>>>
>>>
>>>
>>
>

Mime
View raw message