hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop Sam John (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-11805) KeyValue to Cell Convert in WALEdit APIs
Date Sat, 13 Sep 2014 03:33:35 GMT

     [ 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)

Mime
View raw message