hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chia-Ping Tsai (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18515) Introduce Delete.add as a replacement for Delete#addDeleteMarker
Date Fri, 04 Aug 2017 17:11:00 GMT

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

Chia-Ping Tsai commented on HBASE-18515:
----------------------------------------

{code}
-  public Delete addDeleteMarker(Cell kv) throws IOException {
+  public Delete add(Cell kv) throws IOException {
{code}
We can't break the Client API compatibility without deprecating the method for a major version.
See [HBase version number and compatibility|http://hbase.apache.org/book.html#hbase.versioning].
Would you please add an new method *Delete#add* and deprecate the *Delete#addDeleteMarker*?

>  Introduce Delete.add as a replacement for Delete#addDeleteMarker
> -----------------------------------------------------------------
>
>                 Key: HBASE-18515
>                 URL: https://issues.apache.org/jira/browse/HBASE-18515
>             Project: HBase
>          Issue Type: Task
>          Components: Client
>            Reporter: Chia-Ping Tsai
>            Assignee: Xie YiFan
>              Labels: beginner
>             Fix For: 3.0.0, 2.0.0-alpha-2
>
>         Attachments: HBASE-18515.master.v0.patch
>
>
> {quote}
>   public Delete addDeleteMarker(Cell kv) throws IOException {
>     // TODO: Deprecate and rename 'add' so it matches how we add KVs to Puts.
> {quote}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message