hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Seth (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-13352) Seems unnecessary for HBase tests to call QTestUtil.tearDown to close zookeeper and others.
Date Fri, 15 Apr 2016 17:08:25 GMT

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

Siddharth Seth commented on HIVE-13352:
---------------------------------------

Zookeeper is restarted between each and every test run by TestCliDriver (and it's variants).
I don't think this is a big performance penalty, but seems like unnecessary step. We can definitely
look at clearing up the contents of ZK instead of restarting it.

> Seems unnecessary for HBase tests to call QTestUtil.tearDown to close zookeeper and others.
> -------------------------------------------------------------------------------------------
>
>                 Key: HIVE-13352
>                 URL: https://issues.apache.org/jira/browse/HIVE-13352
>             Project: Hive
>          Issue Type: Improvement
>          Components: Test
>    Affects Versions: 2.1.0
>            Reporter: Aihua Xu
>
> HBase tests TestHBaseCliDriver.java right now call QTestUtil.tearDown to turn off Zookeeper
and others after each test. Seems we can reuse them for all the tests while we just need to
clear all the test data similar to TestCliDriver.



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

Mime
View raw message