<div dir="ltr">Thank S<span style="font-family:arial,sans-serif;font-size:13px">ergey and </span><font face="arial, sans-serif">Matthew,</font><div><font face="arial, sans-serif"><br></font></div><div><font face="arial, sans-serif">Matt, i follow the this instructions. D</font><span style="font-family:arial,sans-serif">etails </span><font face="arial, sans-serif">step by step installation, configuration</font><span style="font-family:arial,sans-serif"> anh create cluster at:</span></div>
<div><a href="https://docs.google.com/document/d/1r1aYEQ-fugY8h3vbG5Wvk0FfVRUk_oDmaRDtpUiyK-0/edit">https://docs.google.com/document/d/1r1aYEQ-fugY8h3vbG5Wvk0FfVRUk_oDmaRDtpUiyK-0/edit</a><br></div><div><br></div><div>When ssh to instance-master run: sudo su hadoop; cd ~; hadoop jar /usr/share/hadoop/hadoop-examples-1.2.1.jar pi 10 100</div>
<div><font face="arial, sans-serif"><div>Seems it worked. But it's still error:</div><div><br></div><div>    Caused by: java.lang.OutOfMemoryError: Java heap space</div><div><span class="" style="white-space:pre">     </span>at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.<init>(MapTask.java:954)</div>
<div>        ...</div><div>    14/07/17 19:37:25 INFO mapred.JobClient:  map 0% reduce 0%</div><div>    14/07/17 19:37:26 INFO mapred.JobClient: Job complete: job_local1818916530_0001</div><div>    14/07/17 19:37:26 INFO mapred.JobClient: Counters: 0</div>
<div>    14/07/17 19:37:26 INFO mapred.JobClient: Job Failed: NA</div><div>    java.io.IOException: Job failed!</div><div><span class="" style="white-space:pre">   </span>at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:1357)</div>
<div>        ...</div><div><br></div><div>(details log at: <a href="https://docs.google.com/document/d/1El-kvPJumN6GOw9FTnh8CeM4RVXtS-57PlBzn3fXUI4/edit">https://docs.google.com/document/d/1El-kvPJumN6GOw9FTnh8CeM4RVXtS-57PlBzn3fXUI4/edit</a>)</div>
<div><br></div><div><br></div><div>First, i set flavor for a node group template is 1GB Ram and 10GB Disk. Then i set 2GB Ram and 20GB Disk. But still this error.</div><div>Note: </div><div> - The current, i'm setting disable Swift and MySQL. </div>
<div> - I set default HDFS, MapReduce,....</div><div><br></div><div>I see:</div><div> - Service hadoop-* (hadoop-namenode) still "not running"</div><div> - Show UI Sahara: HDFS, MapReduce: No Configuratiions (<a href="http://prntscr.com/43os8r">http://prntscr.com/43os8r</a>)</div>
</font></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-07-17 1:13 GMT+07:00 Matthew Farrellee <span dir="ltr"><<a href="mailto:matt@redhat.com" target="_blank">matt@redhat.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">sergey, sahara specs?<br>
<br>
dat,<br>
<br>
did you follow the instructions in the current docs<br>
<br>
 <a href="http://docs.openstack.org/developer/sahara/userdoc/installation.guide.html" target="_blank">http://docs.openstack.org/<u></u>developer/sahara/userdoc/<u></u>installation.guide.html</a><br>
<br>
?<br>
<br>
if they're in the google doc, please include them in your next email.<br>
<br>
best,<br>
<br>
<br>
matt<div class="HOEnZb"><div class="h5"><br>
<br>
On 07/15/2014 09:05 AM, Sergey Lukjanov wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I've CC'ed Matt Farrellee, he's the initial author of sahara specs.<br>
<br>
On Tue, Jul 15, 2014 at 10:28 AM, Dat Tran <<a href="mailto:dattbbk@gmail.com" target="_blank">dattbbk@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I install openstack icehouse, then install sahara. I create cluster, it<br>
worked!<br>
But when i login master-instance, test. Run `hadoop jar<br>
hadoop-examples-1.2.1.jar pi 10 100` ==> Message error:<br>
`java.io.IOException: Cannot create input directory<br>
PiEstimator_TMP_3_141592654/<u></u>in...`<br>
<br>
I check service hadoop-namenode, it's not working. Message:<br>
`start-stop-daemon: unable to set gid to 201 (Operation not permitted)`. All<br>
service hadoop-* not working, too.<br>
<br>
Go back, i check log, have warning. Summarize:<br>
<br>
     WARNING sahara.service.engine [-] Can't start cluster '_unknown_'<br>
(reason: 'NoneType' object has no attribute 'node_groups')<br>
     WARNING sahara.service.engine [-] Presumably the operation failed<br>
because the cluster wasdeleted by a user during the process.<br>
     ERROR root [-] Original exception being dropped: ['Traceback (most<br>
recent call last):\n', '  File<br>
"/home/bkcloud/sahara-venv/<u></u>local/lib/python2.7/site-<u></u>packages/sahara/service/<u></u>direct_engine.py",<br>
line 65, in create_cluster\n    volumes.attach(cluster)\n', '  File<br>
"/home/bkcloud/sahara-venv/<u></u>local/lib/python2.7/site-<u></u>packages/sahara/service/<u></u>volumes.py",<br>
line 31, in attach\n    for node_group in cluster.node_groups:\n',<br>
"AttributeError: 'NoneType' object has no attribute 'node_groups'\n"]<br>
     RROR sahara.context [-] Thread<br>
'cluster-creating-91420b4b-<u></u>9e89-44ff-8ce4-6cd5740e7bdc' fails with<br>
exception: 'Cluster id 'None' not found!'<br>
<br>
<br>
I use:<br>
<br>
  - Plugin Vanilla 1.2.1<br>
  - Hadoop version 1.2.1<br>
  - Image: sahara-icehouse-vanilla-1.2.1-<u></u>ubuntu-13.10.qcow2<br>
  - Download image at:<br>
<a href="http://sahara-files.mirantis.com/sahara-icehouse-vanilla-1.2.1-ubuntu-13.10.qcow2" target="_blank">http://sahara-files.mirantis.<u></u>com/sahara-icehouse-vanilla-1.<u></u>2.1-ubuntu-13.10.qcow2</a><br>
<br>
Details steps i created cluster:<br>
<a href="https://docs.google.com/document/d/1nwAP7FJQMjzOTg1w6UGfk55hvKzbT0OBYHMBGSgNwxU/edit" target="_blank">https://docs.google.com/<u></u>document/d/<u></u>1nwAP7FJQMjzOTg1w6UGfk55hvKzbT<u></u>0OBYHMBGSgNwxU/edit</a><br>

<br>
I think: I failed step config sahara or create node template? Because<br>
service sahara not running, so hadoop not worked :(<br>
Can you help me? Thanks!<br>
<br>
<br>
______________________________<u></u>_________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack</a><br>
<br>
</blockquote>
<br>
<br>
<br>
</blockquote>
<br>
</div></div></blockquote></div><br></div>