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

Zoltan Haindrich commented on HIVE-20394:
-----------------------------------------

not really :) but IIRC compareclidriver violates a few concepts of the current 
qtest util; and I think it would need a little bit different architecture...

These newSession things would be important to get each test into a separate 
thread ; which could increase isolation between tests and is a requiremed for 
adding timeouts to all these tests (HIVE-18565).
There are sometime messages from ptest executor like "likely timed out" - those 
are usually because 1 of the tests have entered an infinite retry loop....

If you are interested: I've also started a little bit different framework which 
could be used to write tests which also could peek into the plan a little bit 
more:
https://github.com/apache/hive/blob/master/ql/src/test/org/apache/hive/testutils/HiveTestEnvSetup.java
https://github.com/apache/hive/blob/master/ql/src/test/org/apache/hive/testutils/TestHiveTestEnvSetup.java
These are kinda work like the current qtestutil...my plan was to remove some 
parts of qtestutil and use these there....but actually not got to it :D

> Optimized & cleaned up HBaseQTest runner
> ----------------------------------------
>
>                 Key: HIVE-20394
>                 URL: https://issues.apache.org/jira/browse/HIVE-20394
>             Project: Hive
>          Issue Type: Bug
>          Components: Tests
>    Affects Versions: 4.0.0
>            Reporter: denys kuzmenko
>            Priority: Major
>         Attachments: HIVE-20394.1.patch, HIVE-20394.2.patch, 
> HIVE-20394.3.patch, HIVE-20394.4.patch, HIVE-20394.5.patch, 
> HIVE-20394.6.patch, HIVE-20394.7.patch, HIVE-20394.8.patch
>
>
> # Set proper cluster destroy order
>  # Propagated proper HBaseTestContext
>  # Ported downstream fixes (CDH-63695)
>  # General clean up



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to