[
https://issues.apache.org/jira/browse/HBASE-7805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13575494#comment-13575494
]
Andrew Purtell commented on HBASE-7805:
---------------------------------------
With the 0.94 patch adjusted with Ted's v2, both tests fail reliably, so I
think we need to actually check if the scans are running in parallel as opposed
to relying on wall clock time. I was running a find command in the background
but tried it one more time with a quiesced system and had the same failure.
{noformat}
Running org.apache.hadoop.hbase.client.TestParallelScan
Tests run: 2, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 47.608 sec <<<
FAILURE!
Results :
Failed tests:
testParallelScanAgainstSameRegion(org.apache.hadoop.hbase.client.TestParallelScan)
testParallelScanAgainstSameRegionWithCoProc(org.apache.hadoop.hbase.client.TestParallelScan)
Tests run: 2, Failures: 2, Errors: 0, Skipped: 0
{noformat}
{noformat}
testParallelScanAgainstSameRegion(org.apache.hadoop.hbase.client.TestParallelScan)
Time elapsed: 31.118 sec <<< FAILURE!
java.lang.AssertionError
at org.junit.Assert.fail(Assert.java:92)
at org.junit.Assert.assertTrue(Assert.java:43)
at org.junit.Assert.assertTrue(Assert.java:54)
at
org.apache.hadoop.hbase.client.TestParallelScan.testParallelScanAgainstSameRegion(TestParallelScan.java:121)
at
org.apache.hadoop.hbase.client.TestParallelScan.testParallelScanAgainstSameRegion(TestParallelScan.java:53)
{noformat}
{noformat}
testParallelScanAgainstSameRegionWithCoProc(org.apache.hadoop.hbase.client.TestParallelScan)
Time elapsed: 16.411 sec <<< FAILURE!
java.lang.AssertionError
at org.junit.Assert.fail(Assert.java:92)
at org.junit.Assert.assertTrue(Assert.java:43)
at org.junit.Assert.assertTrue(Assert.java:54)
at
org.apache.hadoop.hbase.client.TestParallelScan.testParallelScanAgainstSameRegion(TestParallelScan.java:121)
at
org.apache.hadoop.hbase.client.TestParallelScan.testParallelScanAgainstSameRegionWithCoProc(TestParallelScan.java:60)
{noformat}
> Scan of same region processed serially if table has region observer
> coprocessor
> -------------------------------------------------------------------------------
>
> Key: HBASE-7805
> URL: https://issues.apache.org/jira/browse/HBASE-7805
> Project: HBase
> Issue Type: Bug
> Components: Coprocessors, Scanners
> Affects Versions: 0.94.4
> Reporter: James Taylor
> Fix For: 0.96.0, 0.94.6
>
> Attachments: 7805-0.94.patch, 7805-trunk.txt, 7805-trunk-v2.txt,
> ParallelScanTestCoProc.java, ParallelScanTest.java
>
>
> If multiple scans to different parts of the same region are executed in
> parallel, they are processed serially if the table has a region observer
> coprocessor.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira