hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vaibhav Gumashta (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-14891) Parallelize TestHCatStorer
Date Mon, 17 Oct 2016 19:03:58 GMT

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

Vaibhav Gumashta commented on HIVE-14891:
-----------------------------------------

For future reference: new formats won't need a new testcase. The class TestHCatStorer still
works as a parameterized class, with all tests disabled for Avro, RC, Text, SequenceFile,
Orc and Parquet. In case a new format is added, which HCat supports, we'll need to add a new
testcase if we wish to parallelize it like others. 

> Parallelize TestHCatStorer
> --------------------------
>
>                 Key: HIVE-14891
>                 URL: https://issues.apache.org/jira/browse/HIVE-14891
>             Project: Hive
>          Issue Type: Sub-task
>          Components: HCatalog, Testing Infrastructure
>    Affects Versions: 2.1.0
>            Reporter: Vaibhav Gumashta
>            Assignee: Vaibhav Gumashta
>             Fix For: 2.2.0
>
>         Attachments: HIVE-14891.1.patch, HIVE-14891.1.patch, HIVE-14891.1.patch
>
>
> Currently TestHCatStorer runs as a parameterized test, where it runs the same tests for
each storage format but within the same junit test case. This prevents it from being parallelized
using ptest where parallelism granularity is at a test case level. Instead of using parameterized
tests, it makes sense to create a new test case for each storage format.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message