[
https://issues.apache.org/jira/browse/HBASE-13470?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sophia Feng updated HBASE-13470:
--------------------------------
Attachment: HBASE-13470-v2.patch
Patch v2 uploaded to review board, too.
HBASE-13470-v2.patch addressed the comments of HBASE-13470-v1.patch and made
addtional improvements.
Addressed comments:
* Fixed typo
* Fixed for/try format
* Added Javadoc
* Renamed Test and monkey
* Use constant to refer to monkey
* Dropped the @overwrite of setUpMonkey(), inheriting the base class' method to
allow other --monkey options
This patch was built against branch-1.1 and run in multi-master 5-node
distributed cluster. Several issues revealed in the runs and hence additional
changes.
Additional changes:
* Stop creating new empty tables after half of runtime for hbck, and not delete
column family when there is only 1 cf left. The test passed without master
killing this way. Otherwise it gets holes in the regions.
* Ignore InvalidFamilyOperationException for AddColumnFamilyAction and
DeleteColumnFamilyAction, which is a workaround before HBASE-13415. When master
failover takes place, a single add/delete column family request may spawn
multiple procids. When one of procedures succeeds, the other would complain the
column family already exists/not exists.
Pending issues:
* When the test gets to hbck, it fails with inconsistencies
* Test may fail before getting to hbck.
We are investigating those failures from internal cluster runs and will file
Apache BUG if it turns out to be product issues.
> High level Integration test for master DDL operations
> -----------------------------------------------------
>
> Key: HBASE-13470
> URL: https://issues.apache.org/jira/browse/HBASE-13470
> Project: HBase
> Issue Type: Sub-task
> Components: master
> Reporter: Enis Soztutar
> Assignee: Sophia Feng
> Fix For: 2.0.0, 1.2.0, 1.1.1
>
> Attachments: HBASE-13470-v0.patch, HBASE-13470-v1.patch,
> HBASE-13470-v2.patch
>
>
> Our [~fengs] has an integration test which executes DDL operations with a new
> monkey to kill the active master as a high level test for the proc v2
> changes.
> The test does random DDL operations from 20 client threads. The DDL
> statements are create / delete / modify / enable / disable table and CF
> operations. It runs HBCK to verify the end state.
> The test can be run on a single master, or multi master setup.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)