[
https://issues.apache.org/jira/browse/HIVE-23351?focusedWorklogId=431200&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-431200
]
ASF GitHub Bot logged work on HIVE-23351:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 06/May/20 12:17
Start Date: 06/May/20 12:17
Worklog Time Spent: 10m
Work Description: aasha commented on a change in pull request #1004:
URL: https://github.com/apache/hive/pull/1004#discussion_r420744102
##########
File path: ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplDumpTask.java
##########
@@ -170,6 +175,31 @@ public int execute() {
return 0;
}
+ private void initiateAuthorizationDumpTask(Path currentDumpPath) throws
SemanticException, IOException {
+ if
(RANGER_AUTHORIZER.equalsIgnoreCase(conf.getVar(HiveConf.ConfVars.REPL_AUTHORIZATION_PROVIDER_SERVICE)))
{
+ Path rangerDumpRoot = new Path(currentDumpPath,
ReplUtils.REPL_RANGER_BASE_DIR);
+ FileSystem fs = rangerDumpRoot.getFileSystem(conf);
+ if (fs.exists(new Path(rangerDumpRoot,
ReplAck.RANGER_DUMP_ACKNOWLEDGEMENT.toString()))) {
+ LOG.info("Ranger Authorization Metadata is already exported at {} ",
rangerDumpRoot);
+ } else {
+ LOG.info("Exporting Authorization Metadata at {} ", rangerDumpRoot);
+ RangerDumpWork rangerDumpWork = new RangerDumpWork(rangerDumpRoot,
work.dbNameOrPattern);
+ Task<RangerDumpWork> rangerDumpTask = TaskFactory.get(rangerDumpWork,
conf);
+ if (childTasks == null) {
+ childTasks = new ArrayList<>();
+ }
+ childTasks.add(rangerDumpTask);
Review comment:
Its getting added before the data copy tasks
----------------------------------------------------------------
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: 431200)
Time Spent: 0.5h (was: 20m)
> Ranger Replication Scheduling
> -----------------------------
>
> Key: HIVE-23351
> URL: https://issues.apache.org/jira/browse/HIVE-23351
> Project: Hive
> Issue Type: Task
> Reporter: Aasha Medhi
> Assignee: Aasha Medhi
> Priority: Major
> Labels: pull-request-available
> Attachments: HIVE-23351.01.patch, HIVE-23351.02.patch,
> HIVE-23351.03.patch
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)