You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Allan Yang (JIRA)" <ji...@apache.org> on 2016/07/20 02:57:20 UTC

[jira] [Comment Edited] (HBASE-16245) RegionScannerImpl#nextInternal() may produce null pointer exception if scanner is closed in between

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

Allan Yang edited comment on HBASE-16245 at 7/20/16 2:56 AM:
-------------------------------------------------------------

who will call scanner.close() while a  scan is going on? leaseExpired in regionserver?


was (Author: allan163):
who will call scanner.close() while a  scan is going on?

> RegionScannerImpl#nextInternal() may produce null pointer exception if scanner is closed in between
> ---------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-16245
>                 URL: https://issues.apache.org/jira/browse/HBASE-16245
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ankit Singhal
>         Attachments: HBASE-16245.patch
>
>
> This issue is similar to HBASE-12274, FYI [~tedyu@apache.org]
> If I follow the discussion on HBASE-12274 and synchronization is not the option.
> then the attached patch handles null pointer exception in a same way as HBASE-12274



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)