phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop Sam John (JIRA)" <>
Subject [jira] [Commented] (PHOENIX-2477) ClassCastException in IndexedWALEditCodec after HBASE-14501 (possible dataloss)
Date Wed, 02 Dec 2015 15:01:11 GMT


Anoop Sam John commented on PHOENIX-2477:

Looks good.
Ya in Phoenix also, we need to change KV hard coding to be Cell based.  Also ensureKeyValue
is some thing to be avoided.

> ClassCastException in IndexedWALEditCodec after HBASE-14501 (possible dataloss)
> -------------------------------------------------------------------------------
>                 Key: PHOENIX-2477
>                 URL:
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>            Priority: Critical
>         Attachments: phoenix-2477_v1.patch, phoenix-2477_v2.patch
> HBASE-14501 fixed the semantics in using the InputStream.available() and the interface
between the actual Decoder and BaseDecoder. 
> Running Phoenix with IndexedWALEditCodec on top of an HBase version containing HBASE-14501
now causes silent data loss since the Decoder throws 
> {code}
> java.lang.ClassCastException: org.apache.hadoop.hbase.codec.BaseDecoder$PBIS cannot be
cast to
> {code}
> which gets silently ignored from ProtobufLogReader. 

This message was sent by Atlassian JIRA

View raw message