You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Anoop Sam John (JIRA)" <ji...@apache.org> on 2014/09/13 05:33:35 UTC

[jira] [Resolved] (HBASE-11805) KeyValue to Cell Convert in WALEdit APIs

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

Anoop Sam John resolved HBASE-11805.
------------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 0.98.7)
     Release Note: 
The KeyValue based APIs in WALEdit is been removed and replaced with Cell based APIs
void add(KeyValue)    ->       void add(Cell)
ArrayList<KeyValue> getKeyValues()    ->    ArrayList<Cell> getCells()

  was:
In 0.98 WALEdit below APIs are deprecated
void add(KeyValue)
ArrayList<KeyValue> getKeyValues()
And added new APIs
void add(Cell)
ArrayList<Cell> getCells()

in 0.99+ the deprecated APIs are removed and replaced with new mentioned.

     Hadoop Flags: Incompatible change,Reviewed  (was: Reviewed)

> KeyValue to Cell Convert in WALEdit APIs
> ----------------------------------------
>
>                 Key: HBASE-11805
>                 URL: https://issues.apache.org/jira/browse/HBASE-11805
>             Project: HBase
>          Issue Type: Improvement
>          Components: wal
>            Reporter: Anoop Sam John
>            Assignee: Anoop Sam John
>             Fix For: 2.0.0, 0.99.0
>
>         Attachments: HBASE-11805.patch, HBASE-11805_0.98.patch, HBASE-11805_0.98_V2.patch, HBASE-11805_0.98_addendum.patch, HBASE-11805_0.99.patch, HBASE-11805_V2.patch, HBASE-11805_V3.patch
>
>
> In almost all other main interface class/APIs we have changed KeyValue to Cell. But missing in WALEdit. This is public marked for Replication (Well it should be for CP also) 
> These 2 APIs deal with KVs
> add(KeyValue kv)
> ArrayList<KeyValue> getKeyValues()
> Suggest deprecate them and add for 0.98
> add(Cell kv) 
> List<Cell> getCells()
> And just replace from 1.0



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)