You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Geoffrey Jacoby (JIRA)" <ji...@apache.org> on 2019/03/11 21:16:00 UTC

[jira] [Updated] (HBASE-22032) KeyValue validation should check for null byte array

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

Geoffrey Jacoby updated HBASE-22032:
------------------------------------
    Attachment: HBASE-22032.v01.patch

> KeyValue validation should check for null byte array
> ----------------------------------------------------
>
>                 Key: HBASE-22032
>                 URL: https://issues.apache.org/jira/browse/HBASE-22032
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 3.0.0, 2.0.4, 2.1.3
>            Reporter: Geoffrey Jacoby
>            Assignee: Geoffrey Jacoby
>            Priority: Major
>         Attachments: HBASE-22032.v01.patch
>
>
> HBASE-21401 added some nice validation checks to throw precise errors if a KeyValue is constructed using invalid parameters. However it implicitly assumes that the KeyValue buffer is not null. It should validate this assumption and alert accordingly rather than throwing an NPE from an unrelated check. 



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