You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2014/02/24 20:15:21 UTC

[jira] [Commented] (HBASE-10600) HTable#batch() should perform validation on empty Put

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