[
https://issues.apache.org/jira/browse/HBASE-14575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14957974#comment-14957974
]
Ted Yu commented on HBASE-14575:
--------------------------------
Looks like Nick is busy.
Patch v1 fixes a few mockito errors in the following form:
{code}
testSplitOffStripeDropDeletes(org.apache.hadoop.hbase.regionserver.compactions.TestStripeCompactionPolicy)
Time elapsed: 0.155 sec <<< ERROR!
org.mockito.exceptions.misusing.InvalidUseOfMatchersException:
Invalid use of argument matchers!
9 matchers expected, 8 recorded:
-> at
org.apache.hadoop.hbase.regionserver.compactions.TestStripeCompactionPolicy.verifyCompaction(TestStripeCompactionPolicy.java:572)
-> at
org.apache.hadoop.hbase.regionserver.compactions.TestStripeCompactionPolicy.verifyCompaction(TestStripeCompactionPolicy.java:572)
-> at
org.apache.hadoop.hbase.regionserver.compactions.TestStripeCompactionPolicy.verifyCompaction(TestStripeCompactionPolicy.java:572)
-> at
org.apache.hadoop.hbase.regionserver.compactions.TestStripeCompactionPolicy.verifyCompaction(TestStripeCompactionPolicy.java:572)
-> at
org.apache.hadoop.hbase.regionserver.compactions.TestStripeCompactionPolicy.verifyCompaction(TestStripeCompactionPolicy.java:572)
-> at
org.apache.hadoop.hbase.regionserver.compactions.TestStripeCompactionPolicy.dropDeletesMatcher(TestStripeCompactionPolicy.java:599)
-> at
org.apache.hadoop.hbase.regionserver.compactions.TestStripeCompactionPolicy.dropDeletesMatcher(TestStripeCompactionPolicy.java:599)
-> at
org.apache.hadoop.hbase.regionserver.compactions.TestStripeCompactionPolicy.verifyCompaction(TestStripeCompactionPolicy.java:572)
{code}
> Reduce scope of compactions holding region lock
> -----------------------------------------------
>
> Key: HBASE-14575
> URL: https://issues.apache.org/jira/browse/HBASE-14575
> Project: HBase
> Issue Type: Sub-task
> Components: Compaction, regionserver
> Reporter: Nick Dimiduk
> Assignee: Nick Dimiduk
> Attachments: 14575-v1.patch, 14575.v00.patch
>
>
> Per [~devaraj]'s idea on parent issue, let's see if we can reduce the scope
> of critical section under which compactions hold the region read lock.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)