Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> Simulating cluster config parameters (in local mode)


Copy link to this message
-
Re: Simulating cluster config parameters (in local mode)
Ahhh I now know the answer : My solution :

1) Get a simple mapred config file and remove all parameters but the one i
need to set for my local mode.
2) Put the mapred site config .xml in my classpath.
3) Run my application.

The JobConf I assume SHOULD NOT work because this parameter is specifically
meant to defy and job specific configuration.
On Wed, May 9, 2012 at 5:03 PM, Serge Blazhiyevskyy <
[EMAIL PROTECTED]> wrote:

> You should be able to set that param on JobConf object
>
> Regards,
> Serge
>
> On 5/9/12 1:09 PM, "Jay Vyas" <[EMAIL PROTECTED]> wrote:
>
> >Hi guys : I need to set a cluster configuration parameter (specifically,
> >the "mapreduce.job.counters.limit") ....
> >.... Easy ... right ?
> >
> >Well.... one problem : I'm running hadoop in local-mode !
> >
> >So How can I simulate this parameter so that my local mode allows me to
> >use
> >non-default cluster configruation parameters ?
> >
> >
> >--
> >Jay Vyas
> >MMSB/UCHC
>
>
--
Jay Vyas
MMSB/UCHC