[ 
https://issues.apache.org/jira/browse/HIVE-23154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17078591#comment-17078591
 ] 

Hive QA commented on HIVE-23154:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12999296/HIVE-23154.1.patch

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 4 failed/errored test(s), 18195 tests 
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[union_remove_15] 
(batchId=100)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[union_remove_16] 
(batchId=85)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[union_remove_18] 
(batchId=8)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[union_remove_25] 
(batchId=103)
{noformat}

Test results: 
https://builds.apache.org/job/PreCommit-HIVE-Build/21516/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/21516/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-21516/

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
Tests exited with: TestsFailedException: 4 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12999296 - PreCommit-HIVE-Build

> Fix race condition in Utilities::mvFileToFinalPath
> --------------------------------------------------
>
>                 Key: HIVE-23154
>                 URL: https://issues.apache.org/jira/browse/HIVE-23154
>             Project: Hive
>          Issue Type: Improvement
>          Components: HiveServer2
>            Reporter: Rajesh Balamohan
>            Priority: Major
>         Attachments: HIVE-23154.1.patch
>
>
> Utilities::mvFileToFinalPath is used for moving files from "/_tmp.-ext to 
> "/-ext" folder. Tasks write data to "_tmp" . Before writing to final 
> destination, they are moved to "-ext" folder. As part of it, it has checks to 
> ensure that run-away task outputs are not copied to "-ext" folder.
> Currently, there is a race condition between computing the snapshot of files 
> to be copied and the rename operation. Same issue persists in "insert into" 
> case as well.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to