hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeffrey Zhong (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-9222) Thrift DemoClient failed with error IllegalArgument(message:Row length is 0)
Date Wed, 14 Aug 2013 23:07:48 GMT

     [ 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

Mime
View raw message