hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mapred Learn <mapred.le...@gmail.com>
Subject Re: how to specify -Xmx option in a hadoop jar command ?
Date Fri, 29 Apr 2011 00:22:29 GMT
Hi Soren/Bobby,
Thanks for the response !
This is not a map-red but just a jar that runs on Hadoop Client to get/put
data on HDFs but I want the heap for this JVM to be more than 1 GB.

What you guys suggested is I guess for mapper/reducer code.

Thanks,



On Thu, Apr 28, 2011 at 2:41 PM, Soren Flexner <sflexner@gmail.com> wrote:

>
>  Hi JJ,
>
> I think the property you're looking for is mapred.child.java.opts
>
> ${HADOOP_HOME}/conf/mapred-site.xml:
>
>    <property>
>       <name>mapred.child.java.opts</name>
>       <value>-Xmx1024m</value>
> .....etc
>
> For example.
>
> Or
>
> hadoop --config <> jar <jarname> <main class> -D
> mapred.child.java.opts=-Xmx1024M
>
>  -s
>
>
> On Thu, Apr 28, 2011 at 2:26 PM, Mapred Learn <mapred.learn@gmail.com>wrote:
>
>> Hi,
>> I am runnnig a hadoop jar command as:
>> hadoop --config <> jar <jarname> <main class> -conf <conf file>
>>
>> My question is how and where can I specify -Xmx option to increase heap
>> assigned to my JVM ?
>>
>> Thanks in advance
>> -JJ
>>
>
>

Mime
View raw message