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 Tue, 25 Feb 2014 18:32:26 GMT

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

Ted Yu updated HBASE-10600:

    Priority: Minor  (was: Trivial)

Thanks for the review, Andy.

Indeed that is the case.
Will rewrite the loop in next patch.

> 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
>            Assignee: Ted Yu
>            Priority: Minor
>         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

View raw message