By default, Hadoop users and administrators can access the web UIs of the Hadoop daemons without requiring any authentication. Hadoop daemon web UIs can be configured to authenticate users with Kerberos. In this recipe, we will outline steps to configure user authentication for accessing the web UI.
We assume that our Hadoop has been properly configured and all the daemons are running without any issues. We also assume that Kerberos authentication has been configured properly.
In this recipe, we assume all the property configurations will make changes on the $HADOOP_HOME/conf/core-site.xml
file.
Use the following steps to configure web UI authentication:
Stop the cluster with the following command:
stop-all.sh
Add or change the following property:
<property> <name>hadoop.http.filter.initializers</name> <value>org.apache.hadoop.security.AuthenticationFilterInitializer</value> </property>
Change the...