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

Switch to Threaded View
MapReduce >> mail # user >> mapred.child.java.opts question


Copy link to this message
-
Re: mapred.child.java.opts question
Does your class use GenericOptionsParser (does it implement Tool, and does
it call ToolRunner.run(), for example?

Jeff

On Tue, Jun 14, 2011 at 8:47 AM, Alex Kozlov <[EMAIL PROTECTED]> wrote:

> There might be different reasons why this parameter is not passed to the
> slave JVM: for example, it might have been declared final.  Do you see the
> correct parameter in your job xml file (to be found in the JT UI or in the
> slave local FS)?  You can also see the passed parameters if you do `ps aux`
> on the slave during the execution (but you need to catch the right time to
> catch the execution).  -- Alex K
>
>
> On Tue, Jun 14, 2011 at 8:34 AM, Mapred Learn <[EMAIL PROTECTED]>wrote:
>
>> Sorry about the last message. Here we go again:
>>
>> I am trying to pass this option with my job as:
>> hadoop jar <jar file> <main class> -Dmapred.child.java.opts=-Xmx1000m
>> -conf <conf file> <input dir> <output dir>
>>
>> But I still get the error: "Error: Java Heap Space" for all the task
>> trackers.
>>
>>
>> Could somebody advice how can I make this value propagate to all the
>> task-trackers ?
>>
>> Thanks a lot in advance,
>> -JJ
>> On Tue, Jun 14, 2011 at 8:30 AM, Mapred Learn <[EMAIL PROTECTED]>wrote:
>>
>>> Hi,
>>> I am trying to pass this option with my
>>>
>>
>>
>