[ https://issues.apache.org/jira/browse/HIVE-25086?focusedWorklogId=592780&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-592780 ]
ASF GitHub Bot logged work on HIVE-25086: ----------------------------------------- Author: ASF GitHub Bot Created on: 04/May/21 14:51 Start Date: 04/May/21 14:51 Worklog Time Spent: 10m Work Description: hmangla98 commented on a change in pull request #2240: URL: https://github.com/apache/hive/pull/2240#discussion_r625851630 ########## File path: ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplLoadTask.java ########## @@ -160,14 +161,13 @@ public int execute() { } } - private boolean shouldLoadAuthorizationMetadata() { - return conf.getBoolVar(HiveConf.ConfVars.REPL_INCLUDE_AUTHORIZATION_METADATA); - } - - private void initiateAuthorizationLoadTask() throws SemanticException { + private void initiateRangerLoadTask() throws SemanticException { Review comment: if REPL_INCLUDE_AUTHORISATION_METADATA is not enabled, rangerLoadRoot would be set to null and RangerLoadTask would not replicate ranger policies if rangerLoadRoot is null. It would only create a deny policy for target db in this case. -- 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: 592780) Time Spent: 40m (was: 0.5h) > 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: 40m > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.3.4#803005)