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