impala
impala copied to clipboard
[IMPALA-12291] - impala checks hdfs ranger policy
Related Issue
- https://issues.apache.org/jira/projects/IMPALA/issues/IMPALA-12291
Description
- When HDFS is ranger enabled, current impala fe doesn't check ranger policy but hadoop inode permission
- New feature adds getAvailableAccessLevel() method ranger check code using Hadoop API
- Add one more catch in getTExecRequest() method to check AnalysisException
Test
- Manual Test done
- Distribute impala fe jar for impalad and catalogd
- Enable HDFS Ranger Plugin.
- Give impala Allow condition for ranger hdfs policy and check insert query - Insert Success
- Give impala Deny condition for ranger hdfs policy and check insert query - Insert Fail
Hi @HalimKim, thanks for your contribution! We don't use pull requests in Apache Impala, we use Gerrit instead: https://gerrit.cloudera.org/. https://cwiki.apache.org/confluence/display/IMPALA/Using+Gerrit+to+submit+and+review+patches has a walkthrough for uploading patches for review.
Thanks, Michael.
@MikaelSmith Thanks, I just have uploaded the patch on gerrit. Walkthrough was really helpful.