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

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



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

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

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 18207 tests 
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[infer_bucket_sort_reducers_power_two]
 (batchId=15)
{noformat}

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

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: 1 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12999401 - 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, HIVE-23154.3.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