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/06/27 13:40:24 UTC

[jira] [Commented] (HBASE-11421) HTableInterface javadoc correction

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

Anoop Sam John commented on HBASE-11421:
----------------------------------------

one related question

RowMutations and mutateRow() is this really needed now?  What if the same set of Mutations (Puts and Deletes) where added in one batch and called batch() - In HRegion#doMiniBatchMuatate() the same row mutations will be executed in a single mini batch go. This is because the row lock is reentrant now.  Previously it was not and so there was significance for this API


> HTableInterface javadoc correction
> ----------------------------------
>
>                 Key: HBASE-11421
>                 URL: https://issues.apache.org/jira/browse/HBASE-11421
>             Project: HBase
>          Issue Type: Improvement
>          Components: Client
>            Reporter: Anoop Sam John
>            Assignee: Anoop Sam John
>            Priority: Minor
>             Fix For: 0.99.0
>
>         Attachments: HBASE-11421.patch
>
>
> HTable#batch() APIs javadoc says
>  * @param actions list of Get, Put, Delete, Increment, Append, RowMutations objects
> But we can not pass RowMutations in batch.
> {code}
> } else if (row instanceof RowMutations) {
>   throw new UnsupportedOperationException("No RowMutations in multi calls; use mutateRow");
> }
> {code}
> Small patch to correct the doc.



--
This message was sent by Atlassian JIRA
(v6.2#6252)