[
https://issues.apache.org/jira/browse/HIVE-21776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ashutosh Bapat updated HIVE-21776:
----------------------------------
Attachment: HIVE-21776.02.patch
Status: Patch Available (was: In Progress)
Patch has fix for the reported issue and also has fix for checkstyle errors in
the previous ptest run.
When function is dumped during incremental, ReplChangeManager may not be
initialized. In such case, JAR URL dumped will not have checksum and cmroot
appended to it. Hence ReplCopyTask interprets it as normal file instead of
function JAR resource and doesn't copy it. Hence function creation fails on the
target. The fix is to initialize ReplChangeManager before dumping the URL.
> Replication fails to replicate a UDF with jar on HDFS during incremental
> ------------------------------------------------------------------------
>
> Key: HIVE-21776
> URL: https://issues.apache.org/jira/browse/HIVE-21776
> Project: Hive
> Issue Type: Bug
> Affects Versions: 4.0.0
> Reporter: Ashutosh Bapat
> Assignee: Ashutosh Bapat
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
> Attachments: HIVE-21776.01.patch, HIVE-21776.02.patch
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> TestReplicationScenariosAcrossInstances has test to test bootstrap of a UDF
> with jar on HDFS but no test for incremental. Add the same.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)