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

jaanai commented on PHOENIX-5268:
---------------------------------

{quote}KeyValue is a class marked as Private so by contract is not supposed to 
be extended and we can break you at any time. Use Cell, which is a supported 
Public interface.
{quote}
[~apurtell] IndexedKeyValue is used on the server side, I think we should 
implement ExtendedCell for the server side Cell, but ExtendedCell also is a 
Private class. I try to implement a IndexedKeyValue class using Cell interface, 
but some operations can't be supported on the server side. 
{code:java}
java.lang.UnsupportedOperationException: Cell is not of type 
org.apache.hadoop.hbase.ExtendedCell
        at 
org.apache.hadoop.hbase.PrivateCellUtil.setSequenceId(PrivateCellUtil.java:2275)
        at 
org.apache.hadoop.hbase.regionserver.wal.FSWALEntry.stampRegionSequenceId(FSWALEntry.java:118)
        at 
org.apache.hadoop.hbase.regionserver.wal.AbstractFSWAL.stampSequenceIdAndPublishToRingBuffer(AbstractFSWAL.java:971)
{code}


> HBase 2.0.5 compatibility
> -------------------------
>
>                 Key: PHOENIX-5268
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-5268
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>            Priority: Blocker
>             Fix For: 5.1.0
>
>
> HBASE-21754 introduces a new abstract method to RpcScheduler: 
> {{getMetaPriorityQueueLength()}}
> This means that Phoenix does not build against HBase 2.0.5.
> FYI [[email protected]], [~Jaanai].



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

Reply via email to