[Openstack] [Sahara] Master-instance: Service hadoop-* not running
Sergey Lukjanov
slukjanov at mirantis.com
Tue Jul 15 13:05:28 UTC 2014
I've CC'ed Matt Farrellee, he's the initial author of sahara specs.
On Tue, Jul 15, 2014 at 10:28 AM, Dat Tran <dattbbk at gmail.com> wrote:
> I install openstack icehouse, then install sahara. I create cluster, it
> worked!
> But when i login master-instance, test. Run `hadoop jar
> hadoop-examples-1.2.1.jar pi 10 100` ==> Message error:
> `java.io.IOException: Cannot create input directory
> PiEstimator_TMP_3_141592654/in...`
>
> I check service hadoop-namenode, it's not working. Message:
> `start-stop-daemon: unable to set gid to 201 (Operation not permitted)`. All
> service hadoop-* not working, too.
>
> Go back, i check log, have warning. Summarize:
>
> WARNING sahara.service.engine [-] Can't start cluster '_unknown_'
> (reason: 'NoneType' object has no attribute 'node_groups')
> WARNING sahara.service.engine [-] Presumably the operation failed
> because the cluster wasdeleted by a user during the process.
> ERROR root [-] Original exception being dropped: ['Traceback (most
> recent call last):\n', ' File
> "/home/bkcloud/sahara-venv/local/lib/python2.7/site-packages/sahara/service/direct_engine.py",
> line 65, in create_cluster\n volumes.attach(cluster)\n', ' File
> "/home/bkcloud/sahara-venv/local/lib/python2.7/site-packages/sahara/service/volumes.py",
> line 31, in attach\n for node_group in cluster.node_groups:\n',
> "AttributeError: 'NoneType' object has no attribute 'node_groups'\n"]
> RROR sahara.context [-] Thread
> 'cluster-creating-91420b4b-9e89-44ff-8ce4-6cd5740e7bdc' fails with
> exception: 'Cluster id 'None' not found!'
>
>
> I use:
>
> - Plugin Vanilla 1.2.1
> - Hadoop version 1.2.1
> - Image: sahara-icehouse-vanilla-1.2.1-ubuntu-13.10.qcow2
> - Download image at:
> http://sahara-files.mirantis.com/sahara-icehouse-vanilla-1.2.1-ubuntu-13.10.qcow2
>
> Details steps i created cluster:
> https://docs.google.com/document/d/1nwAP7FJQMjzOTg1w6UGfk55hvKzbT0OBYHMBGSgNwxU/edit
>
> I think: I failed step config sahara or create node template? Because
> service sahara not running, so hadoop not worked :(
> Can you help me? Thanks!
>
>
> _______________________________________________
> 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.
More information about the Openstack
mailing list