Does this class need to have the mapper and reducer classes too?

On Wed, Apr 1, 2009 at 1:52 PM, javateck javateck <[email protected]>wrote:

> you can run from java program:
>
>        JobConf conf = new JobConf(MapReduceWork.class);
>
>        // setting your params
>
>        JobClient.runJob(conf);
>
>
> On Wed, Apr 1, 2009 at 11:42 AM, Farhan Husain <[email protected]> wrote:
>
> > Can I get rid of the whole jar thing? Is there any way to run map reduce
> > programs without using a jar? I do not want to use "hadoop jar ..."
> either.
> >
> > On Wed, Apr 1, 2009 at 1:10 PM, javateck javateck <[email protected]
> > >wrote:
> >
> > > I think you need to set a property (mapred.jar) inside hadoop-site.xml,
> > > then
> > > you don't need to hardcode in your java code, and it will be fine.
> > > But I don't know if there is any way that we can set multiple jars,
> since
> > a
> > > lot of times our own mapreduce class needs to reference other jars.
> > >
> > > On Wed, Apr 1, 2009 at 10:57 AM, Farhan Husain <[email protected]>
> > wrote:
> > >
> > > > Hello,
> > > >
> > > > Can anyone tell me if there is any way running a map-reduce job from
> a
> > > java
> > > > program without specifying the jar file by JobConf.setJar() method?
> > > >
> > > > Thanks,
> > > >
> > > > --
> > > > Mohammad Farhan Husain
> > > > Research Assistant
> > > > Department of Computer Science
> > > > Erik Jonsson School of Engineering and Computer Science
> > > > University of Texas at Dallas
> > > >
> > >
> >
> >
> >
> > --
> > Mohammad Farhan Husain
> > Research Assistant
> > Department of Computer Science
> > Erik Jonsson School of Engineering and Computer Science
> > University of Texas at Dallas
> >
>



-- 
Mohammad Farhan Husain
Research Assistant
Department of Computer Science
Erik Jonsson School of Engineering and Computer Science
University of Texas at Dallas

Reply via email to