You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2013/02/10 19:47:13 UTC
[jira] [Comment Edited] (HBASE-7805) Scan of same region processed
serially if table has region observer coprocessor
[ https://issues.apache.org/jira/browse/HBASE-7805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13575489#comment-13575489 ]
Andrew Purtell edited comment on HBASE-7805 at 2/10/13 6:45 PM:
----------------------------------------------------------------
{code}
// Somewhat arbitrary, but parallel time must be at least 25% less than serial time
assertTrue(parallelTime * 5 / 4 < serialTime);
{code}
Try replacing the calls to currentTimeMillis() with something that doesn't rely on wall clock time?
was (Author: apurtell):
{code}
// Somewhat arbitrary, but parallel time must be at least 25% less than serial time
assertTrue(parallelTime * 5 / 4 < serialTime);
{code}
Going to try replacing the calls to currentTimeMillis() with IncrementingEnvironmentEdge.
> 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, 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