[ 
https://issues.apache.org/jira/browse/HIVE-25086?focusedWorklogId=601157&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-601157
 ]

ASF GitHub Bot logged work on HIVE-25086:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 24/May/21 12:14
            Start Date: 24/May/21 12:14
    Worklog Time Spent: 10m 
      Work Description: hmangla98 commented on a change in pull request #2240:
URL: https://github.com/apache/hive/pull/2240#discussion_r637901238



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplLoadTask.java
##########
@@ -127,6 +127,7 @@ public int execute() {
       if (shouldLoadAtlasMetadata()) {
         addAtlasLoadTask();
       }
+      initiateRangerDenytask();

Review comment:
       If config is enabled, this task would add the ranger deny policy.
   If config is disabled, this task would delete ranger deny policy if created 
previously.

##########
File path: ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplLoadTask.java
##########
@@ -127,6 +127,7 @@ public int execute() {
       if (shouldLoadAtlasMetadata()) {
         addAtlasLoadTask();
       }
+      initiateRangerDenytask();

Review comment:
       If config is disabled, it would make delete request if deny policy was 
created in previous iteration.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 601157)
    Time Spent: 2h 50m  (was: 2h 40m)

> Create Ranger Deny Policy for replication db in all cases if 
> hive.repl.ranger.target.deny.policy is set to true.
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-25086
>                 URL: https://issues.apache.org/jira/browse/HIVE-25086
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Haymant Mangla
>            Assignee: Haymant Mangla
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h 50m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to