Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 11-03-2017 04:55 PM
Is there a way to limit access to WebHDFS to only users coming from certain hosts? Something similar to hadoop.proxyuser
Created 11-03-2017 05:07 PM
You achieve this by limiting access via firewall rules, other than that KNOX + Kerberos is the built in method.
Some resources:
Secure Authentication: The core Hadoop uses Kerberos and Hadoop delegation tokens for security. WebHDFS also uses Kerberos (SPNEGO) and Hadoop delegation tokens for authentication.
https://www.cloudera.com/documentation/enterprise/5-9-x/topics/cdh_sg_secure_webhdfs_config.html
Created 11-03-2017 05:03 PM
You can take a look at the HDFS proxyuser hosts setting as, means the user with name as <USERNAME> will be able to access the test1.example.com,test2.example.com,test3.example.com hosts only.
hadoop.proxyuser.<USERNAME>.hosts=test1.example.com,test2.example.com,test3.example.com
.
https://hadoop.apache.org/docs/r2.7.1/hadoop-project-dist/hadoop-common/Superusers.html
Created 11-03-2017 05:07 PM
You achieve this by limiting access via firewall rules, other than that KNOX + Kerberos is the built in method.
Some resources:
Secure Authentication: The core Hadoop uses Kerberos and Hadoop delegation tokens for security. WebHDFS also uses Kerberos (SPNEGO) and Hadoop delegation tokens for authentication.
https://www.cloudera.com/documentation/enterprise/5-9-x/topics/cdh_sg_secure_webhdfs_config.html