hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From unmesha sreeveni <unmeshab...@gmail.com>
Subject Re: Map reduce query
Date Fri, 20 Jun 2014 07:42:51 GMT
Hi

You can directly use this right?

FileInputFormat.setInputPaths(job,new Path(args[0]));
FileOutputFormat.setOutputPath(job, new Path(args[1]));

Or you need extra input file to feed into mapper?


On Fri, Jun 20, 2014 at 11:57 AM, Shrivastava, Himnshu (GE Global Research,
Non-GE) <Himnshu.Shrivastava@ge.com> wrote:

>  How can I give Input to a mapper from the command line? –D option can be
> used but what are the corresponding changes required in the mapper and the
> driver program ?
>
>
>
> Regards,
>



-- 
*Thanks & Regards *


*Unmesha Sreeveni U.B*
*Hadoop, Bigdata Developer*
*Center for Cyber Security | Amrita Vishwa Vidyapeetham*
http://www.unmeshasreeveni.blogspot.in/

Mime
View raw message