[ 
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

Reply via email to