[
https://issues.apache.org/jira/browse/HIVE-21403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16788000#comment-16788000
]
mahesh kumar behera commented on HIVE-21403:
--------------------------------------------
[^HIVE-21403.02.patch] looks fine to me.
+1
> Incorrect error code returned when retry bootstrap with different dump.
> -----------------------------------------------------------------------
>
> Key: HIVE-21403
> URL: https://issues.apache.org/jira/browse/HIVE-21403
> Project: Hive
> Issue Type: Bug
> Components: repl
> Affects Versions: 4.0.0
> Reporter: Sankar Hariappan
> Assignee: Sankar Hariappan
> Priority: Minor
> Labels: DR, pull-request-available, replication
> Attachments: HIVE-21403.01.patch, HIVE-21403.02.patch
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> When retry incremental bootstrap on a table with different bootstrap dump
> throws 40000 as error code instead of 20017.
> {code}
> Error while processing statement: FAILED: Execution Error, return code 40000
> from org.apache.hadoop.hive.ql.exec.repl.ReplLoadTask.
> InvalidOperationException(message:Load path
> hdfs://ctr-e139-1542663976389-61669-01-000003.hwx.site:8020/apps/hive/repl/3d704b34-bf1a-40c9-b70c-57319e6462f6
> not valid as target database is bootstrapped from some other path :
> hdfs://ctr-e139-1542663976389-61669-01-000003.hwx.site:8020/apps/hive/repl/c3e5ec9e-d951-48aa-b3f4-9aeaf5e010ea.)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)