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-16255) Backup/Restore IT
Date Tue, 30 Aug 2016 20:43:21 GMT

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

Dima Spivak commented on HBASE-16255:
-------------------------------------

Well here's what I run (assuming, again, Docker 1.11+ is installed). I'd highly recommend
it since it takes no time at all and isn't subject to the issues you're hitting trying to
keep your cluster updated:
{noformat}
source /dev/stdin <<< "$(curl -sL http://tiny.cloudera.com/clusterdock.sh)"
CLUSTERDOCK_TOPOLOGY_IMAGE=hbasejenkinsuser-docker-hbase.bintray.io/dev/clusterdock:apache_hbase_topology
clusterdock_run ./bin/build_cluster --registry-url=hbasejenkinsuser-docker-hbase.bintray.io
--namespace=dev apache_hbase --hbase-version=hbase-7912 --hbase-git-commit=HBASE-7912 --hadoop-version=2.7.1
--hadoop-tarball=https://archive.apache.org/dist/hadoop/core/hadoop-2.7.1/hadoop-2.7.1.tar.gz
NETWORK="network${RANDOM}"
CLUSTERDOCK_TOPOLOGY_IMAGE=hbasejenkinsuser-docker-hbase.bintray.io/dev/clusterdock:apache_hbase_topology
clusterdock_run ./bin/start_cluster -n ${NETWORK} --registry-url=hbasejenkinsuser-docker-hbase.bintray.io
--namespace=dev apache_hbase --hbase-version=hbase-7912 --hadoop-version=2.7.1
clusterdock_ssh node-1.${NETWORK} hbase org.apache.hadoop.hbase.IntegrationTestBackupRestore
{noformat}
In order, these commands:
1. Source the helper script we use to run {{clusterdock}} (it currently lives on Cloudera's
GitHub).
2. Build a cluster from {{HBASE-7912}} (which saves the Docker images locally).
3. Sets a {{NETWORK}} variable (used solely to name clusters and then reference them later
when running commands over SSH).
4. Start the cluster built from {{HBASE-7912}} in step 2.
5. SSH to node-1 of your cluster and run the test.

Give that a try and then report back if you can repro what I'm seeing.


> Backup/Restore IT
> -----------------
>
>                 Key: HBASE-16255
>                 URL: https://issues.apache.org/jira/browse/HBASE-16255
>             Project: HBase
>          Issue Type: Task
>            Reporter: Vladimir Rodionov
>            Assignee: Vladimir Rodionov
>              Labels: backup
>         Attachments: 16255-addendum.3.txt, 16255.addendum, 16255.addendum2, 16255.addendum4,
16255.addendum5, 16255.addendum6, HBASE-16255-v1.patch, HBASE-16255-v2.patch, HBASE-16255-v3.patch,
HBASE-16255-v4.patch, HBASE-16255-v5.patch, HBASE-16255-v6.patch, backup-it-8-30.out, backup-it-success.out
>
>
> Integration test for backup restore.



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

Mime
View raw message