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

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

Jeffrey Zhong created HBASE-9222:
------------------------------------

             Summary: 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


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