[
https://issues.apache.org/jira/browse/HIVE-20476?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16601800#comment-16601800
]
Hive QA commented on HIVE-20476:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12938084/HIVE-20476.01.patch
{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.
{color:green}SUCCESS:{color} +1 due to 14921 tests passed
Test results:
https://builds.apache.org/job/PreCommit-HIVE-Build/13564/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/13564/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-13564/
Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12938084 - PreCommit-HIVE-Build
> CopyUtils used by REPL LOAD and EXPORT/IMPORT operations ignore distcp error.
> -----------------------------------------------------------------------------
>
> 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, Export, Import, Replication, pull-request-available
> Attachments: HIVE-20476.01.patch
>
>
> 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)