You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Viraj Jasani (JIRA)" <ji...@apache.org> on 2019/06/01 20:08:00 UTC

[jira] [Updated] (HBASE-22520) Avoid possible NPE in HalfStoreFileReader seekBefore()

     [ https://issues.apache.org/jira/browse/HBASE-22520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Viraj Jasani updated HBASE-22520:
---------------------------------
    Status: Patch Available  (was: In Progress)

> Avoid possible NPE in HalfStoreFileReader seekBefore()
> ------------------------------------------------------
>
>                 Key: HBASE-22520
>                 URL: https://issues.apache.org/jira/browse/HBASE-22520
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Viraj Jasani
>            Assignee: Viraj Jasani
>            Priority: Major
>             Fix For: 3.0.0
>
>
> HalfStoreFileReader has firstKey defined as null. While retrieving first key, if the file is empty, no value will be provided to firstKey and hence during seekBefore, it might result into NPE.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)