hbase-dev mailing list archives

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

Mime
View raw message