Created 04-05-2017 02:52 PM
Hi,
I'm pretty new to hadoop in general,so i want to complete the several tutorials in order to learn. I have followed the guide in this link:
https://hortonworks.com/hadoop-tutorial/deploying-hortonworks-sandbox-on-microsoft-azure/
to deploy a sandbox in a VM on Azure,and while i can ssh to my sandbox,and get the web UI for Ambari, i cannot login using my passwords,which i put during the initial configuration. I have used nearly every solution i found here, but none worked.
I have also run the script start_sandbox.sh,and everything went according to the plan.
So i'm guessing that ambari client works but ambari server doesnt(?). Unfortunately i am not able to resolve the problem alone,or using other similar posts i found here, so any help or guidelines would be highly appreciated.
Thank you!
Created 04-05-2017 05:29 PM
So you are able to SSH into the sandbox and access Ambari from your browser, but you aren't able to log into Ambari. You will have to set your Ambari's admin password before logging in. Note that the username/password you set up for your Azure VM is not the same as the one you use to log into Ambari.
After you set up an SSH tunnel (the tutorial covers that part), try SSH'ing into the sandbox using the following command:
ssh root@localhost -p 2222
Default password is: hadoop
Once you're logged in, run the following command in order to reset your ambari password.
ambari-admin-password-reset
That command will reset your Ambari password and restart Ambari for you.
Hope that helps, let me know how it goes!
Edgar
Created 04-05-2017 05:29 PM
So you are able to SSH into the sandbox and access Ambari from your browser, but you aren't able to log into Ambari. You will have to set your Ambari's admin password before logging in. Note that the username/password you set up for your Azure VM is not the same as the one you use to log into Ambari.
After you set up an SSH tunnel (the tutorial covers that part), try SSH'ing into the sandbox using the following command:
ssh root@localhost -p 2222
Default password is: hadoop
Once you're logged in, run the following command in order to reset your ambari password.
ambari-admin-password-reset
That command will reset your Ambari password and restart Ambari for you.
Hope that helps, let me know how it goes!
Edgar
Created 04-06-2017 06:31 AM
Thank you so much for your help. I hadn't realised i should ssh into the sandbox aswell, and even though i had used
ambari-admin-password-reset
, it hadnt start the ambari server correctly. Problem resolved through your instructions though. Thank you so much, have a nice day!
Asimakis