hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Vary (Jira)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-22899) Make sure qtests clean up copied files from test directories
Date Tue, 03 Mar 2020 15:02:00 GMT

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

Peter Vary commented on HIVE-22899:
-----------------------------------

+1

> Make sure qtests clean up copied files from test directories
> ------------------------------------------------------------
>
>                 Key: HIVE-22899
>                 URL: https://issues.apache.org/jira/browse/HIVE-22899
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Zoltan Chovan
>            Assignee: Zoltan Chovan
>            Priority: Minor
>         Attachments: HIVE-22899.2.patch, HIVE-22899.3.patch, HIVE-22899.4.patch, HIVE-22899.5.patch,
HIVE-22899.6.patch, HIVE-22899.7.patch, HIVE-22899.8.patch, HIVE-22899.patch
>
>
> Several qtest files are copying schema or test files to the test directories (such as ${system:test.tmp.dir}
and ${hiveconf:hive.metastore.warehouse.dir}), many times without changing the name of the
copied file. When the same files is copied by another qtest to the same directory the copy
and hence the test fails. This can lead to flaky tests when any two of these qtests gets scheduled
to the same batch.
>  
> In order to avoid these failures, we should make sure the files copied to the test dirs
have unique names and we should make sure these files are cleaned up by the same qtest files
that copies the file.



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

Mime
View raw message