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

Reply via email to