You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Stuart Scott <St...@e-mis.com> on 2011/01/27 07:43:48 UTC
No job jar file set Map Reduce Job
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).
RE: No job jar file set Map Reduce Job
Posted by Stuart Scott <St...@e-mis.com>.
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 <St...@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 <st...@duboce.net> wrote:
>> Does the job run anyway?
>> St.Ack
>>
>> On Wed, Jan 26, 2011 at 10:43 PM, Stuart Scott <St...@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).
>>>
>>>
>>>
>>>
>>
>
Re: No job jar file set Map Reduce Job
Posted by Lars George <la...@gmail.com>.
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 <St...@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 <st...@duboce.net> wrote:
>> Does the job run anyway?
>> St.Ack
>>
>> On Wed, Jan 26, 2011 at 10:43 PM, Stuart Scott <St...@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).
>>>
>>>
>>>
>>>
>>
>
Re: No job jar file set Map Reduce Job
Posted by Lars George <la...@gmail.com>.
Hi Stuart,
Do you have the usual
job.setJarByClass(<Your-Job-Classname>.class);
?
Lars
On Thu, Jan 27, 2011 at 7:53 AM, Stack <st...@duboce.net> wrote:
> Does the job run anyway?
> St.Ack
>
> On Wed, Jan 26, 2011 at 10:43 PM, Stuart Scott <St...@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).
>>
>>
>>
>>
>
Re: No job jar file set Map Reduce Job
Posted by Stack <st...@duboce.net>.
Does the job run anyway?
St.Ack
On Wed, Jan 26, 2011 at 10:43 PM, Stuart Scott <St...@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).
>
>
>
>