You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@hadoop.apache.org by Alessandro Binhara <bi...@gmail.com> on 2011/03/17 21:15:44 UTC
How to pass a parameter to map ?
>
>
>
I need select a data on map...
I can pass paramenter to map when i configure a job?
Other questions :
I need sort a data and save in many files. the name of file is a sort Key
..???
thanks ..
Re: How to pass a parameter to map ?
Posted by Marcos Ortiz <ml...@uci.cu>.
On Thu, 2011-03-17 at 13:57 -0700, Ted Yu wrote:
> >> I can pass paramenter to map when i configure a job?
> You can utilize hadoop Configuration (JobConf).
>
> On Thu, Mar 17, 2011 at 1:15 PM, Alessandro Binhara <bi...@gmail.com>wrote:
>
> > >
> > >
> > >
> > I need select a data on map...
> > I can pass paramenter to map when i configure a job?
> >
> > Other questions :
> > I need sort a data and save in many files. the name of file is a sort Key
> > ..???
> >
> > thanks ..
> >
Take a deep look to JobConf object because there are many tuneable
parameters divided by sections:
- HDFS Writing
- Job submission
- Per-Job
- Map task Sumission and Execution
etc
Regards
--
Marcos Luís Ortíz Valmaseda
Software Engineer
Centro de Tecnologías de Gestión de Datos (DATEC)
Universidad de las Ciencias Informáticas
http://uncubanitolinuxero.blogspot.com
http://www.linkedin.com/in/marcosluis2186
Re: How to pass a parameter to map ?
Posted by Ted Yu <yu...@gmail.com>.
>> I can pass paramenter to map when i configure a job?
You can utilize hadoop Configuration (JobConf).
On Thu, Mar 17, 2011 at 1:15 PM, Alessandro Binhara <bi...@gmail.com>wrote:
> >
> >
> >
> I need select a data on map...
> I can pass paramenter to map when i configure a job?
>
> Other questions :
> I need sort a data and save in many files. the name of file is a sort Key
> ..???
>
> thanks ..
>