hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-10600) HTable#batch() should perform validation on empty Put
Date Mon, 24 Feb 2014 22:32:22 GMT

     [ https://issues.apache.org/jira/browse/HBASE-10600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

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

    Attachment: 10600-v2.txt

Patch v2 adds a test.

> 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, 10600-v2.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)

Mime
View raw message