You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sankar Hariappan (JIRA)" <ji...@apache.org> on 2018/08/28 10:39:00 UTC
[jira] [Assigned] (HIVE-20476) REPL LOAD and EXPORT/IMPORT
operations ignores distcp failures.
[ https://issues.apache.org/jira/browse/HIVE-20476?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sankar Hariappan reassigned HIVE-20476:
---------------------------------------
> REPL LOAD and EXPORT/IMPORT operations ignores distcp failures.
> ---------------------------------------------------------------
>
> Key: HIVE-20476
> URL: https://issues.apache.org/jira/browse/HIVE-20476
> Project: Hive
> Issue Type: Bug
> Components: HiveServer2, repl
> Affects Versions: 3.1.0
> Reporter: Sankar Hariappan
> Assignee: Sankar Hariappan
> Priority: Major
> Labels: DR, Replication, Export, Import
>
> CopyUtils uses FileUtils.distCp to copy files but doesn't check the return value. It returns false if the copy fails.
> Now, REPL LOAD and EXPORT/IMPORT commands internally uses CopyUtils to copy data files across clusters and here it may return success even if file copy fails and may cause data loss.
> Need to throw error and retry.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)