hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <ha...@cloudera.com>
Subject Re: how to specify -Xmx option in a hadoop jar command ?
Date Fri, 29 Apr 2011 05:39:20 GMT
Hey Mapred (!),

On Fri, Apr 29, 2011 at 5:52 AM, Mapred Learn <mapred.learn@gmail.com> wrote:
> 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,

Would doing,

HADOOP_HEAPSIZE=-Xmx1g hadoop jar yourjar.jar

work for you?

-- 
Harsh J

Mime
View raw message