Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Sandbox 2.5 in VMWare cannot SETUP AMBARI admin PASSWORD MANUALLY

Solved Go to solution

Sandbox 2.5 in VMWare cannot SETUP AMBARI admin PASSWORD MANUALLY

New Contributor

I'm a newbie to hadoop ecosystem. When I play with Hortonworks Sandbox 2.5 following Learning the Ropes of the Hortonworks Sandbox , I cannot SETUP AMBARI admin PASSWORD MANUALLY as 2.1 does.

ambari-admin-password-reset 

command didn't work.

7730-截图20160918154714.png

any solutions?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Sandbox 2.5 in VMWare cannot SETUP AMBARI admin PASSWORD MANUALLY

New Contributor

I just came across this same issue. I am running the HDP 2.5 sandbox using vmware Fusion. Usually I could just ssh into the vm and run the ambari-admin-password-reset command, but with this latest release of the sandbox - I had to find the docker container running ambari, log into the docker container, and then I was able to reset the ambari password. This definitely changed from the previous releases of the sandbox.

after ssh root@sandbox (again, vmware Fusion syntax vs virtual box syntax of 127.0.0.1)

# ps -ef | grep container-ip

I'm sure there is a better way, but from this listing I saw the container ip address was 172.17.0.2

ssh root@172.17.0.2

From here, I had to reset the root password on the container (as typical) and then I was able to run

# ambari-admin-password-reset

8 REPLIES 8

Re: Sandbox 2.5 in VMWare cannot SETUP AMBARI admin PASSWORD MANUALLY

Guru

Could you restart the VM image and try again. After it restarts, verify ambari is running (as root) the command ambari-server status. Also if it is running, try to log into http://127.0.0.1:8080/ as maria_dev maria_dev and see what happens.

Re: Sandbox 2.5 in VMWare cannot SETUP AMBARI admin PASSWORD MANUALLY

Super Guru

can you login as admin with password admin

Re: Sandbox 2.5 in VMWare cannot SETUP AMBARI admin PASSWORD MANUALLY

Super Guru

are you logged in as root/hadoop in the root home directory? http://hortonworks.com/hadoop-tutorial/learning-the-ropes-of-the-hortonworks-sandbox/

Re: Sandbox 2.5 in VMWare cannot SETUP AMBARI admin PASSWORD MANUALLY

Rising Star

What you can do as a work around is to ssh into the sandbox using "ssh root@127.0.0.1 -p 2222" and do the ambari-admin-password-reset .This generally works

Highlighted

Re: Sandbox 2.5 in VMWare cannot SETUP AMBARI admin PASSWORD MANUALLY

New Contributor

I just came across this same issue. I am running the HDP 2.5 sandbox using vmware Fusion. Usually I could just ssh into the vm and run the ambari-admin-password-reset command, but with this latest release of the sandbox - I had to find the docker container running ambari, log into the docker container, and then I was able to reset the ambari password. This definitely changed from the previous releases of the sandbox.

after ssh root@sandbox (again, vmware Fusion syntax vs virtual box syntax of 127.0.0.1)

# ps -ef | grep container-ip

I'm sure there is a better way, but from this listing I saw the container ip address was 172.17.0.2

ssh root@172.17.0.2

From here, I had to reset the root password on the container (as typical) and then I was able to run

# ambari-admin-password-reset

Re: Sandbox 2.5 in VMWare cannot SETUP AMBARI admin PASSWORD MANUALLY

New Contributor

it works! thank you~

wait a minute to login with your new passwd until the amabri-server restarting is completed.

Re: Sandbox 2.5 in VMWare cannot SETUP AMBARI admin PASSWORD MANUALLY

Guru

(Am using VirtualBox and do not encounter this problem)

Re: Sandbox 2.5 in VMWare cannot SETUP AMBARI admin PASSWORD MANUALLY

New Contributor

Works great ! Thanks.