Optional Step 9: Configure secure WebHDFS
Note:
If you are not using WebHDFS, you can skip this step.
Security for WebHDFS is disabled by default. If you want use WebHDFS with a secure cluster, this is the time to enable and configure it.
To configure secure WebHDFS:
- If you have not already done so, enable WebHDFS by adding the following property to the hdfs-site.xml file on every machine in the
cluster.
<property> <name>dfs.webhdfs.enabled</name> <value>true</value> </property>
- Add the following properties to the hdfs-site.xml file on every machine in the cluster. Replace the example values shown below with
the correct settings for your site.
<property> <name>dfs.web.authentication.kerberos.principal</name> <value>HTTP/_HOST@YOUR-REALM.COM</value> </property> <property> <name>dfs.web.authentication.kerberos.keytab</name> <value>/etc/hadoop/conf/HTTP.keytab</value> <!-- path to the HTTP keytab --> </property>
Page generated May 18, 2018.
<< Optional Step 8: Configuring Security for HDFS High Availability | ©2016 Cloudera, Inc. All rights reserved | Optional Step 10: Configuring a secure HDFS NFS Gateway >> |
Terms and Conditions Privacy Policy |