You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Himanshu Vashishtha (JIRA)" <ji...@apache.org> on 2011/05/01 17:53:03 UTC
[jira] [Updated] (HBASE-3838) RegionCoprocesorHost.preWALRestore
throws npe in case there is no RegionObserver registered.
[ https://issues.apache.org/jira/browse/HBASE-3838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Himanshu Vashishtha updated HBASE-3838:
---------------------------------------
Attachment: patch.txt
correcting the byPass and shouldComplete check in RegionCoprocessorHost.
> RegionCoprocesorHost.preWALRestore throws npe in case there is no RegionObserver registered.
> --------------------------------------------------------------------------------------------
>
> Key: HBASE-3838
> URL: https://issues.apache.org/jira/browse/HBASE-3838
> Project: HBase
> Issue Type: Bug
> Reporter: Himanshu Vashishtha
> Priority: Minor
> Attachments: patch.txt
>
>
> It seems the check to bypass the Observers chain is at wrong place in case of pre/post WALRestore. It should be inside the "if statement" that checks whether the CP is instance of RegionObserver or not.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira