[Openstack] Sahara: Change Java heap space
Dat Tran
dattbbk at gmail.com
Mon Aug 11 14:01:08 UTC 2014
Hi,
I used vanilla plugin: sahara-icehouse-vanilla-1.2.1-ubuntu-13.10.qcow2
Thanks.
2014-08-11 19:25 GMT+07:00 Sergey Lukjanov <slukjanov at mirantis.com>:
> Hi,
>
> which plugin are you using?
>
> On Tue, Jul 29, 2014 at 6:42 AM, Dat Tran <dattbbk at gmail.com> wrote:
> > Hi everybody,
> >
> > I have created a cluster hadoop (When create Node group template, I have
> > modified mapred.child.java.opts: "-Xmx200m" to "-Xmx1024m"). Then i ssh
> to
> > master-instance and run: "hadoop jar hadoop-examples-1.2.1.jar pi 10
> 100", I
> > get the error:
> > java.lang.OutOfMemoryError: Java heap space
> >
> > Check file /etc/hadoop/hadoop-env.sh. I see:
> > Default: export HADOOP_CLIENT_OPTS="-Xmx128m HADOOP_CLIENT_OPTS"
> >
> > Then, I edit 128 to 1024:
> > export HADOOP_CLIENT_OPTS="-Xmx1024m $HADOOP_CLIENT_OPTS"
> >
> > When run "hadoop jar hadoop-examples-1.2.1.jar pi 10 100", it's worked!
> But,
> > my cluster still in a state: "Watting" and ip_master:50030/jobtracker.jps
> > not running?
> >
> > Why HADOOP_CLIENT_OPTS in /etc/hadoop/hadoop-env.sh not automatic update
> > when create cluster?
> >
> > What is the problem here? Thank you very much!
> >
> >
> >
> > _______________________________________________
> > Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> > Post to : openstack at lists.openstack.org
> > Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> >
>
>
>
> --
> Sincerely yours,
> Sergey Lukjanov
> Sahara Technical Lead
> (OpenStack Data Processing)
> Principal Software Engineer
> Mirantis Inc.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140811/b81fc913/attachment.html>
More information about the Openstack
mailing list