You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Lars Hofhansl (JIRA)" <ji...@apache.org> on 2013/05/06 20:50:17 UTC

[jira] [Commented] (HBASE-8355) BaseRegionObserver#pre(Compact|Flush|Store)ScannerOpen returns null

    [ https://issues.apache.org/jira/browse/HBASE-8355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13649978#comment-13649978 ] 

Lars Hofhansl commented on HBASE-8355:
--------------------------------------

+1 on patch. Sorry for the noise earlier.
                
> BaseRegionObserver#pre(Compact|Flush|Store)ScannerOpen returns null
> -------------------------------------------------------------------
>
>                 Key: HBASE-8355
>                 URL: https://issues.apache.org/jira/browse/HBASE-8355
>             Project: HBase
>          Issue Type: Bug
>          Components: Coprocessors
>    Affects Versions: 0.98.0, 0.94.8, 0.95.1
>            Reporter: Andrew Purtell
>            Assignee: Jesse Yates
>         Attachments: 8355-0.94.patch, 8355.patch, hbase-8355-trunk-v0.patch
>
>
> As pointed out in https://github.com/forcedotcom/phoenix/pull/131, BaseRegionObserver#preCompactScannerOpen returns null by default, which hoses any coprocessors down the line, making override of this method mandatory. The fix is trivial, patch coming momentarily.
> Update:
> This same behavior is present in the Flush and Store versions of the same method - this should all be moved to the proposed 'return passed scanner' default behavior.

--
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