gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ferdy Galema (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GORA-89) Avoid HBase MiniCluster restarts to shorten gora-hbase tests
Date Mon, 30 Jan 2012 15:58:10 GMT

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

Ferdy Galema commented on GORA-89:
----------------------------------

This sounds like a good plan. It will rid us of the deprecated HBaseClusterTestCase too. We
can fully rely on HBaseTestingUtility, and it seems that this is what HBaseClusterSingleton
is using.
                
> Avoid HBase MiniCluster restarts to shorten gora-hbase tests
> ------------------------------------------------------------
>
>                 Key: GORA-89
>                 URL: https://issues.apache.org/jira/browse/GORA-89
>             Project: Gora
>          Issue Type: Improvement
>          Components: storage-hbase
>    Affects Versions: 0.2-incubating
>            Reporter: Lewis John McGibbney
>             Fix For: 0.2-incubating
>
>
> Currently our hbase tests are taking forever and a day. We should shorten the time by
avoiding MiniCluster restarts.
> Just implement the cluster as a singleton and clean up the tables in
> between test by doing a scan and deletes for all rows. It's much
> faster than restarting the cluster.
> For code referenece please see the implementation here[1]. The class is
> HBaseClusterSingleton. It needs some refactoring but I think it's
> enough to speed your tests.
> Thanks Ioan for the heads up.
> [1] http://svn.apache.org/repos/asf/james/mailbox/trunk/hbase/src/test/java/org/apache/james/mailbox/hbase/

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message