Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

How do I set the admin password for Ambari in the sandbox-hdp 2.6

avatar
New Member

I'm trying to setup/change the admin user for Ambari in vitrualbox sandbox-hdp 2.6. I've ssh into vitrualbox found no command ambari-admin-password-reser. I've shh'd into the docker from the virualbox ssh -p 2222 root@127.0.0.1 and still no ambari-admin-password-rest ? Am I missing somethig?

1 ACCEPTED SOLUTION

avatar
Master Mentor

@Mark Lambie

Can you please share the output of the following commands?

After doing SSH as following to the host.

ssh -p 2222 root@127.0.0.1
[root@sandbox ~]# hdp-select versions
2.6.0.3-8

[root@sandbox ~]# which ambari-admin-password-reset 
/usr/sbin/ambari-admin-password-reset

.

Also please try the web link to access the terminal just in case above does not work.

http://localhost:4200/

.

View solution in original post

3 REPLIES 3

avatar
Master Mentor

@Mark Lambie

Can you please share the output of the following commands?

After doing SSH as following to the host.

ssh -p 2222 root@127.0.0.1
[root@sandbox ~]# hdp-select versions
2.6.0.3-8

[root@sandbox ~]# which ambari-admin-password-reset 
/usr/sbin/ambari-admin-password-reset

.

Also please try the web link to access the terminal just in case above does not work.

http://localhost:4200/

.

avatar
New Member

hdp-select versions

2.5.0.0-1245

2.6.0.3-8

which ambari-admin-password-reset

/usr/sbin/ambari-admin-password-reset

Ok - that found it - for some reason it was not in the path and find / -name ambari-admin-password-reset did not find it.

Thank you!

avatar
New Member

just summarized my action to set password of ambari UI

Take putty of the snadbox host - & the default password of sandbox host - root/hadoop. once you are connected shell & then run this command. this reset ambari admin password and also start the required services

ambari-admin-password-reset

open sanbox host via ambari UI with ur password.