RANGER-4670: (hbase plugin) Config to support disabling column authorization for fully authorized column families #417
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
A property/flag can be set via hbase service configs wherein during column level authorization, it can be used to determine if an authorization at column family can be used to determine if column authorization can be shortcircuited as an optimization (there will be audit behavior changes in this case). This is useful for improving performance especially for multiget and multiput workloads wherein thousands of columns can come in the authorization request and just checking column family level access can improve performance drastically
How was this patch tested?
Existing test cases work
New test cases have been added for hbase. The test cases cover the scan operation bug addressed in RANGER-4977 and also covers new unit test cases for testing correctness of column authorization shortcircuiting. These minicluster cased test cases do not work on master branch (because they are ignored using junit ignore annotation -- currently being tracked at https://issues.apache.org/jira/browse/RANGER-4686 and was caused due to hadoop version upgrades)
I have verified that the new added test cases work on my private fork.