Products & Services
MapR Book Club
to create and rate content, and to follow, bookmark, and share content with other members.
How to password protect Hadoop JobTracker web UI ?
Question asked by
on Jun 26, 2013
on Jun 27, 2013 by gera
Show 0 Likes
I'd like to know how to password protect the Hadoop jobtracker Web UIs running on ports 50030
No one else has this question
Mark as assumed answered
This content has been marked as final.
Show 1 comment
(Required, will not be published)
Jun 27, 2013 5:40 PM
All hadoop daemons use an embedded Jetty web container to host JSP for webui, e.g., currently v6.1.26 in branch-1. So the question is [how to configure security with embedded jetty](
In MapR install, JobTracker's UI is located under something like
For example, in `webapps/job/WEB-INF/web.xml` descriptor you can add the following to make sure that all urls are accessible only by the role "admin" and that [basic access authentication](
) is used.
Now you need to define the realm jtRealm that is referenced in web.xml. For this, you create a new file `webapps/job/WEB-INF/jetty-web.xml`
Here we have specified jtRealm as HashUserRealm based on the [realm.properties file](
Now you can create this file with the following content to define user1 as an admin:
After restarting JobTracker, you will have to log in as user1 authenticated by password pass1 to see the webui.
Show 0 Likes
Retrieving data ...
disksetup on on a disk that is in use by Linux
Mapr Installation on Centos is failing
Consumer Group Hang - MapR Streams with all partitions
No license to run NFS server
fs/nfsd/nfsha.cc:887 exiting: No license to run NFS server