You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2011/05/02 20:16:03 UTC
[jira] [Resolved] (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 ]
stack resolved HBASE-3838.
--------------------------
Resolution: Fixed
Fix Version/s: 0.92.0
Assignee: Himanshu Vashishtha
Hadoop Flags: [Reviewed]
Committed to TRUNK. Thank you for the patch Himanshu.
> 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
> Assignee: Himanshu Vashishtha
> Priority: Minor
> Fix For: 0.92.0
>
> 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