This is an automated email from the ASF dual-hosted git repository.

abhay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ranger.git


The following commit(s) were added to refs/heads/master by this push:
     new 7c815e8  RANGER-2657: Upgrade Hive version from 3.1 to 3.1.2 - part 2
7c815e8 is described below

commit 7c815e8ad71c3168b60195c7b18fdbaa0d4e4e92
Author: Abhay Kulkarni <[email protected]>
AuthorDate: Wed Dec 4 16:54:02 2019 -0800

    RANGER-2657: Upgrade Hive version from 3.1 to 3.1.2 - part 2
---
 .../authorization/hive/authorizer/RangerHivePolicyProvider.java       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHivePolicyProvider.java
 
b/hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHivePolicyProvider.java
index 3a88c47..ba6b459 100644
--- 
a/hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHivePolicyProvider.java
+++ 
b/hive-agent/src/main/java/org/apache/ranger/authorization/hive/authorizer/RangerHivePolicyProvider.java
@@ -52,7 +52,7 @@ public class RangerHivePolicyProvider implements 
HivePolicyProvider {
 
        private final RangerBasePlugin  rangerPlugin;
 
-       RangerHivePolicyProvider(@NotNull RangerHivePlugin hivePlugin) {
+       public RangerHivePolicyProvider(@NotNull RangerBasePlugin hivePlugin) {
 
                Set<String> privileges = new HashSet<>();
                for (HiveResourceACLs.Privilege privilege : 
HiveResourceACLs.Privilege.values()) {
@@ -94,7 +94,7 @@ public class RangerHivePolicyProvider implements 
HivePolicyProvider {
                }
        }
 
-       private HiveResourceACLs getResourceACLs(RangerHiveResource 
hiveResource) {
+       public HiveResourceACLs getResourceACLs(RangerHiveResource 
hiveResource) {
            HiveResourceACLs ret;
 
            RangerAccessRequestImpl request = new 
RangerAccessRequestImpl(hiveResource, RangerPolicyEngine.ANY_ACCESS, null, 
null);

Reply via email to