[
https://issues.apache.org/jira/browse/PHOENIX-2477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15042031#comment-15042031
]
Enis Soztutar commented on PHOENIX-2477:
----------------------------------------
bq. It's ok to check in to only the 4.x and master branches as these are the
only active ones currently.
Oh, I thought we were doing maintenance releases. Next time!
bq. So given your HBase fix, is there a b/w compat issue in Phoenix? Are we ok,
because there hasn't been an HBase release with the change that would have
broken Phoenix?
Yes, there is no 1.x release done yet. I think we did a 0.98.16 release with
the HBase changes. So, the binary compat will only affect that particular
release. Phoenix with 0.98.17+ will be compatible with 0.98.15-.
> ClassCastException in IndexedWALEditCodec after HBASE-14501 (possible
> dataloss)
> -------------------------------------------------------------------------------
>
> Key: PHOENIX-2477
> URL: https://issues.apache.org/jira/browse/PHOENIX-2477
> Project: Phoenix
> Issue Type: Bug
> Reporter: Enis Soztutar
> Assignee: Enis Soztutar
> Priority: Critical
> Fix For: 4.7.0
>
> 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 java.io.DataInput
> {code}
> which gets silently ignored from ProtobufLogReader.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)