[ https://issues.apache.org/jira/browse/HIVE-23058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17082487#comment-17082487 ]
Hive QA commented on HIVE-23058: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12999771/HIVE-23058.3.patch {color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified. {color:red}ERROR:{color} -1 due to 5 failed/errored test(s), 17405 tests executed *Failed tests:* {noformat} TestLocalSparkCliDriver - did not produce a TEST-*.xml file (likely timed out) (batchId=264) TestMiniSparkOnYarnCliDriver - did not produce a TEST-*.xml file (likely timed out) (batchId=264) TestSparkCliDriver - did not produce a TEST-*.xml file (likely timed out) (batchId=264) TestSparkNegativeCliDriver - did not produce a TEST-*.xml file (likely timed out) (batchId=264) TestSparkPerfCliDriver - did not produce a TEST-*.xml file (likely timed out) (batchId=264) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/21605/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/21605/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-21605/ 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: 5 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12999771 - PreCommit-HIVE-Build > Compaction task reattempt fails with FileAlreadyExistsException > --------------------------------------------------------------- > > Key: HIVE-23058 > URL: https://issues.apache.org/jira/browse/HIVE-23058 > Project: Hive > Issue Type: Bug > Components: Hive > Affects Versions: 3.1.0 > Reporter: Riju Trivedi > Assignee: Riju Trivedi > Priority: Major > Attachments: HIVE-23058.2.patch, HIVE-23058.3.patch, > HIVE_23058.1.patch, HIVE_23058.patch > > > Issue occurs when compaction attempt is relaunched after first task attempt > failure due to preemption by Scheduler or any other reason. > Since _tmp directory was created by first attempt and was left uncleaned > after task attempt failure. Second attempt of the the task fails with > "FileAlreadyExistsException" exception. > Caused by: > org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.fs.FileAlreadyExistsException): > > /warehouse/tablespace/managed/hive/default.db/compaction_test/_tmp_3670bbef-ba7a-4c10-918d-9a2ee17cbd22/base_0000186/bucket_00005 > for client 10.xx.xx.xxx already exists -- This message was sent by Atlassian Jira (v8.3.4#803005)