[
https://issues.apache.org/jira/browse/HIVE-22954?focusedWorklogId=398270&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-398270
]
ASF GitHub Bot logged work on HIVE-22954:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 05/Mar/20 10:23
Start Date: 05/Mar/20 10:23
Worklog Time Spent: 10m
Work Description: anishek commented on pull request #932: HIVE-22954 Repl
Load using scheduler
URL: https://github.com/apache/hive/pull/932#discussion_r388191499
##########
File path:
ql/src/java/org/apache/hadoop/hive/ql/parse/ReplicationSemanticAnalyzer.java
##########
@@ -387,27 +388,80 @@ private void analyzeReplLoad(ASTNode ast) throws
SemanticException {
// At this point, all dump dirs should contain a _dumpmetadata file that
// tells us what is inside that dumpdir.
- DumpMetaData dmd = new DumpMetaData(loadPath, conf);
-
- boolean evDump = false;
- // we will decide what hdfs locations needs to be copied over here as
well.
- if (dmd.isIncrementalDump()) {
- LOG.debug("{} contains an incremental dump", loadPath);
- evDump = true;
+ //If repl status of target is greater than dumps, don't do anything as
the load for the latest dump is done
+ if (isTargetAlreadyLoaded) {
Review comment:
may be do a !isTargetAlreadyLoaded and have just one conditional {}
----------------------------------------------------------------
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: 398270)
Time Spent: 20m (was: 10m)
> Schedule Repl Load using Hive Scheduler
> ---------------------------------------
>
> Key: HIVE-22954
> URL: https://issues.apache.org/jira/browse/HIVE-22954
> Project: Hive
> Issue Type: Task
> Reporter: Aasha Medhi
> Assignee: Aasha Medhi
> Priority: Major
> Labels: pull-request-available
> Attachments: HIVE-22954.01.patch, HIVE-22954.02.patch,
> HIVE-22954.03.patch, HIVE-22954.04.patch, HIVE-22954.05.patch,
> HIVE-22954.06.patch, HIVE-22954.07.patch, HIVE-22954.08.patch,
> HIVE-22954.09.patch, HIVE-22954.10.patch, HIVE-22954.11.patch,
> HIVE-22954.12.patch, HIVE-22954.13.patch, HIVE-22954.15.patch,
> HIVE-22954.16.patch, HIVE-22954.17.patch, HIVE-22954.patch
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> [https://github.com/apache/hive/pull/932]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)