hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dima Spivak (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12721) Create Docker container cluster infrastructure to enable better testing
Date Tue, 09 Aug 2016 00:56:20 GMT

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

Dima Spivak commented on HBASE-12721:
-------------------------------------

New review up on RB. Update removes the bulk of the framework from Apache HBase but leaves
behind what's needed to create an {{apache_hbase}} topology that can be plugged into the framework.
Since the original patches went up, {{clusterdock.sh}} from the framework has also been updated
to make it easier to SSH into nodes. In short, now instead of needing to worry about private
keys, assuming you've started up a cluster with nodes {{node-\{1..5\}.cluster}}, you can simply
run
{noformat}
clusterdock_ssh node-1.cluster
{noformat}
to get an interactive terminal or
{noformat}
clusterdock_ssh node-1.cluster 'echo "list" | hbase shell -n'
{noformat}
to run a command against a running Docker-based cluster.

> Create Docker container cluster infrastructure to enable better testing
> -----------------------------------------------------------------------
>
>                 Key: HBASE-12721
>                 URL: https://issues.apache.org/jira/browse/HBASE-12721
>             Project: HBase
>          Issue Type: New Feature
>          Components: build, community, documentation, test
>            Reporter: Dima Spivak
>            Assignee: Dima Spivak
>
> Some simple work on using HBase with Docker was committed into /dev-support as "hbase_docker;"
all this did was stand up a standalone cluster from source and start a shell. Now seems like
a good time to extend this to be useful for applications that could actual benefit the community,
especially around testing. Some ideas:
> - Integration testing would be much more accessible if people could stand up distributed
HBase clusters on a single host machine in a couple minutes and run our awesome hbase-it suite
against it.
> - Binary compatibility testing of an HBase client is easiest when standing up an HBase
cluster can be done once and then different client source/binary permutations run against
it.
> - Upgrade testing, and especially rolling upgrade testing, doesn't have any upstream
automation on build.apache.org, in part because it's a pain to set up x-node clusters on Apache
infrastructure.
> This proposal, whether it stays under /dev-support or moves out into it's own top-level
module ("hbase-docker" would conveniently fit the existing schema :-)), strives to create
a simple framework for deploying "distributed," multi-container Apache HBase clusters.



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

Mime
View raw message