<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi Ruslan,<br><br>As the output is quite long, I am providing pastebin link. Hope it does not boter you.<br><br> The outputs of<br><div>$ http $SAVANNA_URL/images X-Auth-Token:$AUTH_TOKEN</div><div>$ http $SAVANNA_URL/node-group-templates X-Auth-Token:$AUTH_TOKEN</div><div>$ http $SAVANNA_URL/cluster-templates X-Auth-Token:$AUTH_TOKEN<br>are here:<br><br> <a href="http://pastebin.com/ngu9HNdu" target="_blank"></a><a href="http://pastebin.com/ngu9HNdu" target="_blank">http://pastebin.com/ngu9HNdu</a><br><br>I followed the quick start guide, the outputs are here: <br><br><a href="http://pastebin.com/TYmnQe2G" target="_blank">http://pastebin.com/TYmnQe2G</a><br><br></div>The logs are here, its contains log after I submitted the cluster:<br><br><a href="http://pastebin.com/LjHxmi4j" target="_blank">http://pastebin.com/LjHxmi4j</a><br><br><br>Regards,<br>Arindam<br><br><br><div><hr id="stopSpelling">Date: Sat, 13 Jul 2013 22:04:26 +0400<br>From: rkamaldinov@mirantis.com<br>To: arindam@live.com<br>CC: openstack-dev@lists.openstack.org; savanna-all@lists.launchpad.net<br>Subject: Re: [Savanna-all] How to run hadoop jobs<br><br>
<div>
Hi Arindam,
</div><div><br></div><div>There was a validation error during cluster creation. Can you send contents of cluster_create.json ?</div><div>Also, please attach output of:</div><div><br></div><div>$ http $SAVANNA_URL/images X-Auth-Token:$AUTH_TOKEN</div><div>$ http $SAVANNA_URL/node-group-templates X-Auth-Token:$AUTH_TOKEN</div><div>$ http $SAVANNA_URL/cluster-templates X-Auth-Token:$AUTH_TOKEN</div><div><br></div><div>Savanna debug logs also would be helpful. </div><div><br></div><div><br></div><div>Please use *openstack-dev* as a mail-list for Savanna-related questions. Just prefix the subject with [Savanna].</div><div><br></div><div>Thanks,</div><div>Ruslan</div>
<div></div>
<p style="color:#A0A0A8;">On Saturday, July 13, 2013 at 9:24 PM, Arindam Choudhury wrote:</p>
<blockquote style="border-left-style:solid;border-width:1px;padding-left:10px;">
<span><div><div>
<div dir="ltr">Hi,<br><br>I installed savanna from the git repository. I can create cluster but only with admin, when I try to create cluster with non-admin user it gives me an error:<br><br>(keystone_arindam)]# http $SAVANNA_URL/clusters X-Auth-Token:$AUTH_TOKEN < cluster_create.json<br>HTTP/1.1 500 INTERNAL SERVER ERROR<br>Content-Length: 111<br>Content-Type: application/json<br>Date: Sat, 13 Jul 2013 16:47:25 GMT<br><br>{<br> "error_code": 500,<br> "error_message": "Error occurred during validation",<br> "error_name": "INTERNAL_SERVER_ERROR"<br>}<br><br>The hadoop daemons are not started automatically so I could not run the test job.<br><br>hadoop@cluster-1-master-001:/usr/share/hadoop$ hadoop jar hadoop-examples.jar pi 10 100<br>Exception in thread "main" java.io.IOException: Error opening job jar: hadoop-examples.jar<br> at org.apache.hadoop.util.RunJar.main(RunJar.java:90)<br>Caused by: java.io.FileNotFoundException: hadoop-examples.jar (No such file or directory)<br> at java.util.zip.ZipFile.open(Native Method)<br> at java.util.zip.ZipFile.<init>(ZipFile.java:214)<br> at java.util.zip.ZipFile.<init>(ZipFile.java:144)<br> at java.util.jar.JarFile.<init>(JarFile.java:153)<br> at java.util.jar.JarFile.<init>(JarFile.java:90)<br> at org.apache.hadoop.util.RunJar.main(RunJar.java:88)<br>hadoop@cluster-1-master-001:/usr/share/hadoop$ <a href="http://start-all.sh" target="_blank">start-all.sh</a><br>mkdir: cannot create directory `/mnt/log': Permission denied<br>chown: cannot access `/mnt/log/hadoop/hadoop/': No such file or directory<br>starting namenode, logging to /mnt/log/hadoop/hadoop//hadoop-hadoop-namenode-cluster-1-master-001.out<br>/usr/sbin/<a href="http://hadoop-daemon.sh" target="_blank">hadoop-daemon.sh</a>: line 136: /mnt/log/hadoop/hadoop//hadoop-hadoop-namenode-cluster-1-master-001.out: No such file or directory<br>head: cannot open `/mnt/log/hadoop/hadoop//hadoop-hadoop-namenode-cluster-1-master-001.out' for reading: No such file or directory<br>hadoop@localhost's password:<br><br>when I try to start hadoop manually, it asks for a password. How to do it? Am I missing something?<br><br>Regards,<br>Arindam<br><br><br> </div>
</div><div><div>-- </div><div>Mailing list: <a href="https://launchpad.net/~savanna-all" target="_blank">https://launchpad.net/~savanna-all</a></div><div>Post to : <a href="mailto:savanna-all@lists.launchpad.net">savanna-all@lists.launchpad.net</a></div><div>Unsubscribe : <a href="https://launchpad.net/~savanna-all" target="_blank">https://launchpad.net/~savanna-all</a></div><div>More help : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a></div></div></div></span>
</blockquote>
<div>
<br>
</div></div> </div></body>
</html>