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.le...@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
>

Reply via email to