sure. my mistake. thanks. I'm also trying to increase the reducer heap size (keeping the map with the default 200m). I found 2 related properties: 1. mapreduce.reduce.java.opts 2. mapred.child.java.opts
Which should be configured and whats the purpose of the second property. thanks, Lior On Thu, Mar 17, 2011 at 6:41 PM, Harsh J <qwertyman...@gmail.com> wrote: > Hello, > > Remove the "=" from "-Xmx=2048m". > > P.s. If you're looking to change the JobTracker opts, it is > HADOOP_JOBTRACKER_OPTS, not TASKTRACKER :) > > On Thu, Mar 17, 2011 at 10:08 PM, Lior Schachter <li...@infolinks.com> > wrote: > > Hi, > > I'm trying to increase the job-tracker heap by adding Xmx definition to > > hadoop-env.sh (adding it to HADOOP_TASKTRACKER_OPTS). > > I keep getting this error while starting hadoop: > > Invalid maximum heap size: -Xmx=2048m > > Could not create the Java virtual machine. > > > > Any idea what am I doing wrong ? > > > > > > -- > Harsh J > http://harshj.com >