hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse Yates (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8355) BaseRegionObserver#preCompactScannerOpen returns null
Date Wed, 17 Apr 2013 18:03:16 GMT

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

Jesse Yates commented on HBASE-8355:
------------------------------------

>From the patch Andrew was referencing on github in the description, here's the issue:
{code}
/**
+   * We override this method to ensure that any scanner from a previous coprocessor is returned.
The
+   * default behavior is to return <tt>null</tt>, which completely hoses any
other coprocessors
+   * setup before, making ordering of coprocessors very important. By returning the passed
scanner,
+   * we can avoid easy to make configuration errors.
+   */ 
{code}
                
> BaseRegionObserver#preCompactScannerOpen 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: Andrew Purtell
>         Attachments: 8355-0.94.patch, 8355.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.

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

Mime
View raw message