You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Enis Soztutar (JIRA)" <ji...@apache.org> on 2012/06/27 01:19:44 UTC

[jira] [Updated] (HBASE-6241) HBaseCluster interface for interacting with the cluster from system tests

     [ https://issues.apache.org/jira/browse/HBASE-6241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Enis Soztutar updated HBASE-6241:
---------------------------------

    Attachment: HBASE-6241_v0.2.patch

Attaching an patch for early view. I am still polishing stuff, but bulk of the patch is pretty much done. i'll upload the candidate for review version once it is done. This is based on the patch for HBASE-6053, but does not include TestRegionRebalance changes. It requires HBASE-6201.

Some high-level notes on the patch: 
 - uses hbase-it module, and adds a new test there called IntegrationTestDataIngestWithChaosMonkey. This class runs LoadTestTool with a chaos monkey(http://www.codinghorror.com/blog/2011/04/working-with-the-chaos-monkey.html). Chaos monkey is very sipmle right now, just does selects a random RS, kills and restarts it. 
 - Introduces HBaseCluster, RealHBaseCluster and changes MiniHBaseCluster to extends HBaseCluster. 
 - Adds a ClusterManager interface, and a default HBase shell scripts based HBaseClusterManager. These are internal-classses and tests does not directly refer to them, so we can improve on them, maybe add another implementation when BIGTOP-635 is done.
 - I've tested the patch on a mini-cluster as well as a 8-node cluster.
 - Adds an IntegrationTestsDriver class as a driver for running integration tests from command line. You can do "bin/hbase --config <hbase_conf_dir> o.a.h.h.ITD" to run all the integration tests on a real cluster. mvn verify runs them on mini cluster. I'll open another issue for mvn verify on real clusters.  
                
> HBaseCluster interface for interacting with the cluster from system tests 
> --------------------------------------------------------------------------
>
>                 Key: HBASE-6241
>                 URL: https://issues.apache.org/jira/browse/HBASE-6241
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>         Attachments: HBASE-6241_v0.2.patch
>
>
> We need to abstract away the cluster interactions for system tests running on actual clusters. 
> MiniHBaseCluster and RealHBaseCluster should both implement this interface, and system tests should work with both.
> I'll split Devaraj's patch in HBASE-6053 for the initial version. 

--
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