[
https://issues.apache.org/jira/browse/HBASE-10600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13910680#comment-13910680
]
Andrew Purtell commented on HBASE-10600:
----------------------------------------
Do you have a patch for this Ted?
> HTable#batch() should perform validation on empty Put
> -----------------------------------------------------
>
> Key: HBASE-10600
> URL: https://issues.apache.org/jira/browse/HBASE-10600
> Project: HBase
> Issue Type: Bug
> Reporter: Ted Yu
>
> Raised by java8964 in this thread:
> http://osdir.com/ml/general/2014-02/msg44384.html
> When an empty Put is passed in the List to HTable#batch(), there is no
> validation performed whereas IllegalArgumentException would have been thrown
> if this empty Put in the simple Put API call.
> Validation on empty Put should be carried out in HTable#batch().
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)