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

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

                Author: ASF GitHub Bot
            Created on: 12/Oct/20 21:01
            Start Date: 12/Oct/20 21:01
    Worklog Time Spent: 10m 
      Work Description: pkumarsinha commented on a change in pull request #1566:
URL: https://github.com/apache/hive/pull/1566#discussion_r503497240



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplLoadTask.java
##########
@@ -162,7 +162,8 @@ private void initiateAuthorizationLoadTask() throws 
SemanticException {
     if 
(RANGER_AUTHORIZER.equalsIgnoreCase(conf.getVar(HiveConf.ConfVars.REPL_AUTHORIZATION_PROVIDER_SERVICE)))
 {
       Path rangerLoadRoot = new Path(new Path(work.dumpDirectory).getParent(), 
ReplUtils.REPL_RANGER_BASE_DIR);
       LOG.info("Adding Import Ranger Metadata Task from {} ", rangerLoadRoot);
-      RangerLoadWork rangerLoadWork = new RangerLoadWork(rangerLoadRoot, 
work.getSourceDbName(), work.dbNameToLoadIn,
+      String targetDbName = StringUtils.isEmpty(work.dbNameToLoadIn) ? 
work.getSourceDbName() : work.dbNameToLoadIn;

Review comment:
       Will the same issue be there with AtlasLoadWork as well?




----------------------------------------------------------------
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:
[email protected]


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

    Worklog Id:     (was: 499636)
    Time Spent: 0.5h  (was: 20m)

> Fix for Ranger Deny policy overriding policy with same resource name 
> ---------------------------------------------------------------------
>
>                 Key: HIVE-24246
>                 URL: https://issues.apache.org/jira/browse/HIVE-24246
>             Project: Hive
>          Issue Type: Task
>            Reporter: Aasha Medhi
>            Assignee: Aasha Medhi
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-24246.01.patch
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>




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

Reply via email to