[ https://issues.apache.org/jira/browse/HIVE-24246?focusedWorklogId=499911&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-499911 ]
ASF GitHub Bot logged work on HIVE-24246: ----------------------------------------- Author: ASF GitHub Bot Created on: 13/Oct/20 08:17 Start Date: 13/Oct/20 08:17 Worklog Time Spent: 10m Work Description: aasha commented on a change in pull request #1566: URL: https://github.com/apache/hive/pull/1566#discussion_r503755873 ########## 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: no when you don't pass target db name ---------------------------------------------------------------- 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: 499911) Time Spent: 40m (was: 0.5h) > 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: 40m > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.3.4#803005)