[ 
https://issues.apache.org/jira/browse/HIVE-26895?focusedWorklogId=839136&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-839136
 ]

ASF GitHub Bot logged work on HIVE-26895:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 13/Jan/23 19:18
            Start Date: 13/Jan/23 19:18
    Worklog Time Spent: 10m 
      Work Description: cnauroth commented on PR #3900:
URL: https://github.com/apache/hive/pull/3900#issuecomment-1382279431

   @amanraj2520 , yes, something like what you described would work.
   
   Although maybe it's not even really necessary to guarantee this level of 
cleanup. The original problem before HIVE-22899 was that multiple tests were 
trying to copy to the same destination path, potentially causing a collision 
and a failure for some of the tests. Part of what this patch did is to 
guarantee tests were operating on unique destination paths (even if they were 
copying from the same source path), so no 2 tests should collide anymore. The 
cleanup is nice to have, but everything under `target` would get deleted on the 
next `mvn clean` anyway.




Issue Time Tracking
-------------------

    Worklog Id:     (was: 839136)
    Time Spent: 1h 20m  (was: 1h 10m)

> Backport of HIVE-22899: Make sure qtests clean up copied files from test 
> directories
> ------------------------------------------------------------------------------------
>
>                 Key: HIVE-26895
>                 URL: https://issues.apache.org/jira/browse/HIVE-26895
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Aman Raj
>            Assignee: Aman Raj
>            Priority: Critical
>              Labels: pull-request-available
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> Tests (like avrotblsjoin.q) are failing due to the following errors:
> {code:java}
> Begin query: avrotblsjoin.qTRACE StatusLogger Log4jLoggerFactory.getContext() 
> found anchor class org.apache.hadoop.hive.cli.CliDriverTRACE StatusLogger 
> Log4jLoggerFactory.getContext() found anchor class 
> org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzerTRACE StatusLogger 
> Log4jLoggerFactory.getContext() found anchor class 
> org.apache.curator.RetryLoopTRACE StatusLogger 
> Log4jLoggerFactory.getContext() found anchor class 
> org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzercp: 
> `/home/jenkins/agent/workspace/hive-precommit_PR-3859/itests/qtest/target/tmp/table1.avsc':
>  File existsDone query avrotblsjoin.q. succeeded=false, skipped=false. 
> ElapsedTime(ms)=41TRACE StatusLogger Log4jLoggerFactory.getContext() found 
> anchor class org.apache.curator.RetryLoop {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to