Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 34A17CF89 for ; Mon, 10 Mar 2014 17:35:47 +0000 (UTC) Received: (qmail 2165 invoked by uid 500); 10 Mar 2014 17:35:46 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 2137 invoked by uid 500); 10 Mar 2014 17:35:43 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 2124 invoked by uid 99); 10 Mar 2014 17:35:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Mar 2014 17:35:42 +0000 Date: Mon, 10 Mar 2014 17:35:42 +0000 (UTC) From: "Devaraj Das (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-10572) Create an IntegrationTest for region replicas MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-10572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Devaraj Das updated HBASE-10572: -------------------------------- Attachment: 10572-add.txt Not sure if I missed something but passing the argument {noformat}-DIntegrationTestTimeBoundedRequestsWithRegionReplicas.region_replication{noformat} didn't reflect in the #replicas for the test table. The test table always gets created with 1 replica. I had to make the one line change as in the patch attached for the argument to have an effect (in the earlier patch, hbase-10572_v0.patch, the region_replication would be set in a different place via modifyTable). Also, should we fail the test after "READ FAILURE" is > 0? > Create an IntegrationTest for region replicas > --------------------------------------------- > > Key: HBASE-10572 > URL: https://issues.apache.org/jira/browse/HBASE-10572 > Project: HBase > Issue Type: Sub-task > Reporter: Enis Soztutar > Assignee: Enis Soztutar > Fix For: hbase-10070 > > Attachments: 10572-add.txt, hbase-10572_v0.patch, hbase-10572_v1.patch > > > We should add an integration test for testing reads from replicas with chaos monkey. > I am thinking of a test which: > - Creates a table with region replication > - Writes some data to a table with many regions per server. Ensures that the replicas sees the data. > - Does time bounded gets (5 sec, etc) with timeline consistency. Failing to complete the reads with a smaller latency will fail the test > - Runs Chaos Monkey to kill the region servers, master and runs balance. We do not want other CM actions (flush, snapshot, etc) -- This message was sent by Atlassian JIRA (v6.2#6252)