You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2022/06/16 17:56:00 UTC

[jira] [Closed] (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 ]

Andrew Kyle Purtell closed HBASE-9222.
--------------------------------------

> 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 was sent by Atlassian Jira
(v8.20.7#820007)