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

Ted Yu updated HBASE-21204:
---------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s:     (was: 2.0.0)
                   3.0.0
           Status: Resolved  (was: Patch Available)

Thanks for the patch, jingyun

> NPE when scan raw DELETE_FAMILY_VERSION and codec is not set
> ------------------------------------------------------------
>
>                 Key: HBASE-21204
>                 URL: https://issues.apache.org/jira/browse/HBASE-21204
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 2.1.0, 2.0.0, 2.2.0
>            Reporter: Jingyun Tian
>            Assignee: Jingyun Tian
>            Priority: Major
>             Fix For: 3.0.0, 2.2.0, 2.1.0
>
>         Attachments: HBASE-21204.branch-2.001.patch, 
> HBASE-21204.branch-2.002.patch, HBASE-21204.master.001.patch, 
> HBASE-21204.master.002.patch, HBASE-21204.master.003.patch
>
>
> There are 7 types of our Cell,    
>     Minimum((byte)0),
>     Put((byte)4),
>     Delete((byte)8),
>     DeleteFamilyVersion((byte)10),
>     DeleteColumn((byte)12),
>     DeleteFamily((byte)14),
>     Maximum((byte)255);
> But there are only 6 types of our CellType protobuf definition:
> enum CellType {
>     MINIMUM = 0;
>     PUT = 4;
>     DELETE = 8;
>     DELETE_FAMILY_VERSION = 10;
>     DELETE_COLUMN = 12;
>     DELETE_FAMILY = 14;
>     MAXIMUM = 255;
> }
> Thus if we scan raw data which is DELETE_FAMILY_VERSION,it will throw NPE.



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

Reply via email to