You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Stijn De Weirdt <st...@ugent.be> on 2012/04/02 16:17:05 UTC

HADOOP_OPTS to tasks

hi all,

is it normal that HADOOP_OPTS are not passed to the actual tasks (ie the 
java processes running as child of tasktracker)? the tasktracker process 
uses them correctly.

is there a way to set general java options for each started task?


many thanks,

stijn

Re: HADOOP_OPTS to tasks

Posted by Stijn De Weirdt <st...@ugent.be>.
On 04/02/2012 04:18 PM, Harsh J wrote:
> HADOOP_OPTS isn't applied for Task JVMs.
>
> For Task JVMs, set "mapred.child.java.opts" in mapred-site.xml (Or via
> Configuration for per-job tuning), to the opts string you want it to
> have. For example "-Xmx200m -Dsomesysprop=abc".
thanks!

stijn

>
> On Mon, Apr 2, 2012 at 7:47 PM, Stijn De Weirdt<st...@ugent.be>  wrote:
>> hi all,
>>
>> is it normal that HADOOP_OPTS are not passed to the actual tasks (ie the
>> java processes running as child of tasktracker)? the tasktracker process
>> uses them correctly.
>>
>> is there a way to set general java options for each started task?
>>
>>
>> many thanks,
>>
>> stijn
>
>
>


Re: HADOOP_OPTS to tasks

Posted by Harsh J <ha...@cloudera.com>.
HADOOP_OPTS isn't applied for Task JVMs.

For Task JVMs, set "mapred.child.java.opts" in mapred-site.xml (Or via
Configuration for per-job tuning), to the opts string you want it to
have. For example "-Xmx200m -Dsomesysprop=abc".

On Mon, Apr 2, 2012 at 7:47 PM, Stijn De Weirdt <st...@ugent.be> wrote:
> hi all,
>
> is it normal that HADOOP_OPTS are not passed to the actual tasks (ie the
> java processes running as child of tasktracker)? the tasktracker process
> uses them correctly.
>
> is there a way to set general java options for each started task?
>
>
> many thanks,
>
> stijn



-- 
Harsh J