[
https://issues.apache.org/jira/browse/HBASE-2414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stack updated HBASE-2414:
-------------------------
Attachment: testmaster-v14.txt
Attached patch should have sufficient vocabulary for writing tests that can
repro recent rash of issues. It adds means of adding listeners to master
events -- both before and after event happens. The before lets you put off the
event. it'll be requeued, added to the DelayQueue (this happens currently in
Master if an issue processing a RegionServerOperation, it gets requeued to be
tried again later). The patch also adds to minihbasecluster simple means of
sending regionserver "events'.
Patch includes test that reproduces hbase-2428. Let me add more unit tests for
other issues.
> Enhance test suite to be able to specify distributed scenarios
> --------------------------------------------------------------
>
> Key: HBASE-2414
> URL: https://issues.apache.org/jira/browse/HBASE-2414
> Project: Hadoop HBase
> Issue Type: Bug
> Components: test
> Affects Versions: 0.20.3
> Reporter: Karthik Ranganathan
> Assignee: stack
> Priority: Blocker
> Fix For: 0.20.5, 0.21.0
>
> Attachments: directcluster.txt, master2.txt, testmaster-v11.patch,
> testmaster-v14.txt, testmaster-v4.patch, testmaster-v5.patch,
> testmaster-v7.patch, testmaster-v8.patch
>
>
> We keep finding good cases that are reasonably hard to test, yet the test
> suite does not encode these.
> For example:
> HBASE-2413 Master does not respect generation stamps, may result in meta
> getting permanently offlined
> HBASE-2312 Possible data loss when RS goes into GC pause while rolling HLog
> I am sure there are many more such "scenarios" we should put into the unit
> tests.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.