[Openstack] [Sahara] Master-instance: Service hadoop-* not running

Dat Tran dattbbk at gmail.com
Tue Jul 15 06:28:14 UTC 2014


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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140715/9b3d729c/attachment.html>


More information about the Openstack mailing list