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.

Username and Password for Resource Manager WebUI

Username and Password for Resource Manager WebUI

New Contributor

Every time i try to use the Hadoop Resource Manager web interface (http://resource-manger.host:8088/cluster/) i show up logged in as dr.who. My question, how can I login as another user? In this case i want to login as myself and have a higher lever of privileges than dr.who.

My Cluster is non kerberised.

6 REPLIES 6

Re: Username and Password for Resource Manager WebUI

Rising Star

@ASIF Khan Hadoop’s Pseudo/Simple authentication can be used if the cluster is not kerberized. The user name must be specified in the first browser interaction using the user.name query string parameter. e.g. http://rm-host:8088/cluster?user.name=asif.

Highlighted

Re: Username and Password for Resource Manager WebUI

New Contributor

@Tarun Parimi

Still i am able to see all the jobs..if i could get popup for username and password for it would be great.

Re: Username and Password for Resource Manager WebUI

Rising Star

Currently in hadoop only simple authentication and kerberos (SPNEGO) authentication is supported out of the box. So your requirement is not supported. Refer http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/HttpAuthentication.html

Re: Username and Password for Resource Manager WebUI

New Contributor

This is a great post Thanks for the information!

https://www.swantao.com/whiteboard-markers/

Re: Username and Password for Resource Manager WebUI

Mentor

@ASIF Khan

If the cluster is managed by Ambari, this should be added in Ambari > HDFS > Configurations>Advanced core-site > Add Property

hadoop.http.staticuser.user=yarn

Please let me know if that worked

Re: Username and Password for Resource Manager WebUI

Explorer

What is Simple Athentication here: http://rm-host:8088/cluster?user.name=asif not asking password. and RM UI should show only jobs belong to Asif. but both are not happening, How can I achieve these, can I check LDAP credentials with Simple Authentication?