You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Zoltan Chovan (Jira)" <ji...@apache.org> on 2020/02/19 14:11:00 UTC
[jira] [Comment Edited] (HIVE-22899) Make sure qtests clean up
copied files from test directories
[ https://issues.apache.org/jira/browse/HIVE-22899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17040080#comment-17040080 ]
Zoltan Chovan edited comment on HIVE-22899 at 2/19/20 2:10 PM:
---------------------------------------------------------------
[~pvary] turns out that this specific test (rfc5424_parser_file_pruning.q) is excluded[1] from the tests (note, it still shows up in the batches, but then I'm assuming it gets ignored by the TestCliDriver). I'll remove my changes regarding both the q and out files.
[1]
[https://github.com/apache/hive/blob/master/itests/util/src/main/java/org/apache/hadoop/hive/cli/control/CliConfigs.java#L254|https://github.com/apache/hive/blob/master/itests/util/src/main/java/org/apache/hadoop/hive/cli/control/CliConfigs.java#L254]
was (Author: zchovan):
[~pvary] turns out that this specific test (rfc5424_parser_file_pruning.q) is excluded from the tests (note, it still shows up in the batches, but then I'm assumign it gets ignored by the TestCliDriver). I'll remove my changes regarding both the q and out files.
> 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.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)