Hortonwork ambari admin password reset
Ambari 를 사용하다가 서비스 변경을 위해서는 admin 으로 로그인해야 하는데 비밀번호를 잊어버려 접속을 못한다면.
Root 계정으로 로그인하고 아래와 같이 ambary-admin-password-reset 를 사용하여 재입력하도록 한다.
[root@sandbox home]# ambari-admin-password-reset
Please set the password for admin:
Please retype the password for admin:
The admin password has been set.
Restarting ambari-server to make the password change effective...
Using python /usr/bin/python2
Restarting ambari-server
Using python /usr/bin/python2
Stopping ambari-server
Ambari Server stopped
Using python /usr/bin/python2
Starting ambari-server
Ambari Server running with administrator privileges.
Organizing resource files at /var/lib/ambari-server/resources...
Server PID at: /var/run/ambari-server/ambari-server.pid
Server out at: /var/log/ambari-server/ambari-server.out
Server log at: /var/log/ambari-server/ambari-server.log
Waiting for server start....................
Ambari Server 'start' completed successfully.
[root@sandbox home]#