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

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

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

HBase QA commented on HBASE-22520:
----------------------------------

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue}  0m  0s{color} | {color:blue} Docker mode activated. {color} |
| {color:red}-1{color} | {color:red} patch {color} | {color:red}  0m  5s{color} | {color:red} HBASE-22520 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help. {color} |
\\
\\
|| Subsystem || Report/Notes ||
| JIRA Issue | HBASE-22520 |
| JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12970588/HBASE-22520-master.patch |
| Console output | https://builds.apache.org/job/PreCommit-HBASE-Build/475/console |
| Powered by | Apache Yetus 0.9.0 http://yetus.apache.org |


This message was automatically generated.



> 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
>
>         Attachments: HBASE-22520-master.patch
>
>
> 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)