You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jeffrey Zhong (JIRA)" <ji...@apache.org> on 2013/08/15 01:07:48 UTC

[jira] [Updated] (HBASE-9222) Thrift DemoClient failed with error IllegalArgument(message:Row length is 0)

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

Jeffrey Zhong updated HBASE-9222:
---------------------------------

    Attachment: hbase-9222.patch

Removed the empty row scenario from DemoClient because it's illegal situation from now on.
                
> Thrift DemoClient failed with error IllegalArgument(message:Row length is 0)
> ----------------------------------------------------------------------------
>
>                 Key: HBASE-9222
>                 URL: https://issues.apache.org/jira/browse/HBASE-9222
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Jeffrey Zhong
>            Assignee: Jeffrey Zhong
>            Priority: Minor
>         Attachments: hbase-9222.patch
>
>
> We make it illegal passing null row to Put/Delete from hbase-8101. While Thrift demo client still verify empty row situation as following:
> {code}
>         // try empty strings
>         mutations = new ArrayList<Mutation>();
>         mutations.add(new Mutation(false, ByteBuffer.wrap(bytes("entry:")), 
>             ByteBuffer.wrap(bytes("")), writeToWal));
>         client.mutateRow(ByteBuffer.wrap(t), ByteBuffer.wrap(bytes("")), 
>             mutations, dummyAttributes);
> {code} 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira