[ https://issues.apache.org/jira/browse/HBASE-10572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Enis Soztutar updated HBASE-10572: ---------------------------------- Attachment: hbase-10572_v0.patch Here is a patch which adds the integration test using LoadTestTool. Can be used like this: {code} hbase org.apache.hadoop.hbase.test.IntegrationTestTimeBoundedRequestsWithRegionReplicas -Dhbase.IntegrationTestTimeBoundedRequestsWithRegionReplicas.runtime=1800000 -DIntegrationTestTimeBoundedRequestsWithRegionReplicas.num_write_threads=40 -DIntegrationTestTimeBoundedRequestsWithRegionReplicas.num_read_threads=40 --monkey destructive {code} v0 need some polishing, and I am still testing it on the cluster, but this version already proved to be useful in debugging and testing. > Create and 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: hbase-10572_v0.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.1.5#6160)