hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars George <lars.geo...@gmail.com>
Subject Re: No job jar file set Map Reduce Job
Date Thu, 27 Jan 2011 09:21:23 GMT
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