hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Himanshu Vashishtha (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-3838) RegionCoprocesorHost.preWALRestore throws npe in case there is no RegionObserver registered.
Date Sun, 01 May 2011 15:53:03 GMT

     [ 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

Mime
View raw message