Support Questions

Find answers, ask questions, and share your expertise
Announcements
Welcome to the upgraded Community! Read this blog to see What’s New!

default username password not working for Hortonworks sandbox 2.3.2 on Azure

avatar
New Contributor

I deployed a hortonworks sandbox on Azure following the guidelines on .http://hortonworks.com/blog/hortonworks-sandbox-with-hdp-2-3-is-now-available-on-microsoft-azure-gallery/. Then, I followed the guidelines on the sandbox welcome page to open Ambari using http://{Ipaddress}:8080 and got to the Ambari login page. When I tried the default username and password admin/admin, it said the combination is invalid. I also tried the cluster username and password, and it did not work either.

Your help is highly appreciated

1 ACCEPTED SOLUTION

avatar

@Vivian Li See this in the link that you shared

1. ssh into the VM and run the following command as the root user:ambari-admin-password-reset

2. You will be prompted to enter the password. Ambari server will restart.

3. Then run command

ambari-agent restart

4. You can then go to the http://<hostname/ipaddress>:8888 which displays the splash page and click on the Ambari url. Enter the user "admin" and put the password you set previouly in step 2. You should now be able to log in as an Ambari admin.

View solution in original post

24 REPLIES 24

avatar

avatar
@Vivian Li

You have to use the username/password you specified on the Azure portal while creating the Sandbox

avatar
New Contributor

I have the same issue. The suggested admin-admin credentials do not work, neither do the ones I provided when creating the sandbox.

avatar
New Contributor

Actually Neeraj's second comment worked for me. Thanks!

One clarification:

For step 1: use

ssh <username>@<ipaddress>

or

ssh <username>@<hostname>

where <username> is the username you define when creating the sandbox. You will also be prompted to enter the password defined when creating the sandbox.

avatar

@Michael Mathioudakis Please accept the best answer to close the thread

avatar
New Contributor

@Neeraj Sabharwal hi, not sure how to do that

avatar

@Michael Mathioudakis You can see accept button under my 1st response.

avatar
New Contributor

@Neeraj Sabharwal I don't see that - probably because I wasn't the original author of the question?

avatar

avatar

@Vivian Li See this in the link that you shared

1. ssh into the VM and run the following command as the root user:ambari-admin-password-reset

2. You will be prompted to enter the password. Ambari server will restart.

3. Then run command

ambari-agent restart

4. You can then go to the http://<hostname/ipaddress>:8888 which displays the splash page and click on the Ambari url. Enter the user "admin" and put the password you set previouly in step 2. You should now be able to log in as an Ambari admin.

avatar

avatar
New Contributor

Hi Michael and @Neeraj Sabharwal,

I can indeed ssh using the username & password when I created azure sandbox, but after that what can I do to access the ambari website interface or even change the password of "admin"??? or create new root user for ambari?

The sandbox username & password does not work for ambari login website

Also, whatever command I use in ssh with the sandbox user, it will say "Permission denied"

Please help me!!!!

avatar
New Contributor

I have tried to change the password, but I am getting error of permission denied. Can some one help as Ambari is not working for me either. Same situation tried all combination of passwords.

avatar

@Muhammad Ali

FYI ..Michael was able to resolve this. Make sure that there is no typo in your password

Actually Neeraj's second comment worked for me. Thanks!

One clarification:

For step 1: use

ssh <username>@<ipaddress>

or

ssh <username>@<hostname>

where <username> is the username you define when creating the sandbox. You will also be prompted to enter the password defined when creating the sandbox.

avatar
New Contributor

I got the error of Permission denied after run cmd:ambari-admin-password-reset. Any idea? The SSH username/password are the username/password my defined when creating the sandbox.

avatar
Mentor

@Vivian Li

Dont you think its related to azure-sandbox-login.pdf

avatar
New Contributor

Tried user:azure password:azure and even can't login.

avatar
Mentor
@RYAN Gao

Try this one out courtesy of Neeraj

1. ssh into the VM and run the following command as the root user:ambari-admin-password-reset

2. You will be prompted to enter the password. Ambari server will restart.

3. Then run command

ambari-agent restart

4. You can then go to the http://<hostname/ipaddress>:8888 which displays the splash page and click on the Ambari url. Enter the user "admin" and put the password you set previouly in step

5. You should now be able to log in as an Ambari admin.

avatar
New Contributor

I got the error of Permission denied after run cmd:ambari-admin-password-reset. The SSH username/password are the username/password my defined when creating the sandbox because user:admin pasword:admin doesn't allow me in.

avatar
New Contributor

User/Password root/hadoop doesn't work

User/Password admin/admin doesn't work

User/Password azure/azure doesn't work

User/Password my defined when creating the sandbox, works however got permission denied when you run ambari-admin-password-reset.

So any ideas?

Labels