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

[jira] [Updated] (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:all-tabpanel ]

Ted Yu updated HBASE-10600:
---------------------------

    Attachment: 10600-v1.txt

Here is patch v1.

> 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
>         Attachments: 10600-v1.txt
>
>
> 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)