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

Ted Yu commented on HBASE-18522:
--------------------------------

{code}
+      Integer rowMutationsIndex =
+          (rowMutationsIndexMap == null ? null : rowMutationsIndexMap.get(i));
{code}
Can we not use Integer ?
All legitimate indices should be >= 0. How about using -1 to represent the null 
case ?
{code}
+    Table t = TEST_UTIL.createTable(TABLENAME, FAMILY);
{code}
Please close t at the end of the test.

> Add RowMutations support to Batch
> ---------------------------------
>
>                 Key: HBASE-18522
>                 URL: https://issues.apache.org/jira/browse/HBASE-18522
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 1.2.6
>            Reporter: Jerry He
>            Assignee: Jerry He
>             Fix For: 2.0.0, 3.0.0, 1.4.0, 1.5.0
>
>         Attachments: HBASE-18522-branch-1.patch
>
>
> RowMutations is multiple Puts and/or Deletes atomically on a single row. 
> Current Batch call does not support RowMutations as part of the batch.
> We should add this missing part. We should be able to batch RowMutations.



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

Reply via email to