You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/07/01 07:06:50 UTC
[jira] [Commented] (GORA-89) Avoid HBase MiniCluster restarts to
shorten gora-hbase tests
[ https://issues.apache.org/jira/browse/GORA-89?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13696525#comment-13696525 ]
Hudson commented on GORA-89:
----------------------------
Integrated in goraOracle #6 (See [https://builds.apache.org/job/goraOracle/6/])
GORA-89 GORA-159 To shorten build time by having HBase minicluster as singleton. (Revision e88e5e800d7ab28cd6a4e3a62aa30509569439c1)
Result = FAILURE
hsaputra :
Files :
* gora-hbase/src/test/java/org/apache/gora/hbase/mapreduce/TestHBaseStoreCountQuery.java
* gora-hbase/src/test/java/org/apache/gora/hbase/store/TestHBaseStore.java
* CHANGES.txt
* gora-hbase/src/test/java/org/apache/gora/hbase/GoraHBaseTestDriver.java
* gora-hbase/src/test/java/org/apache/gora/hbase/mapreduce/TestHBaseStoreWordCount.java
* gora-core/src/examples/java/org/apache/gora/examples/mapreduce/QueryCounter.java
* gora-hbase/src/test/java/org/apache/gora/hbase/util/HBaseClusterSingleton.java
> Avoid HBase MiniCluster restarts to shorten gora-hbase tests
> ------------------------------------------------------------
>
> Key: GORA-89
> URL: https://issues.apache.org/jira/browse/GORA-89
> Project: Apache Gora
> Issue Type: Improvement
> Components: gora-hbase
> Affects Versions: 0.2
> Reporter: Lewis John McGibbney
> Assignee: Henry Saputra
> Priority: Critical
> Fix For: 0.4
>
> Attachments: GORA-89-hsaputra.patch, GORA-89.patch, GORA-89-proposal_02.patch
>
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira