You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by je...@apache.org on 2013/08/15 19:49:38 UTC

svn commit: r1514401 - /hbase/trunk/hbase-examples/src/main/java/org/apache/hadoop/hbase/thrift/DemoClient.java

Author: jeffreyz
Date: Thu Aug 15 17:49:37 2013
New Revision: 1514401

URL: http://svn.apache.org/r1514401
Log:
hbase-9222: Thrift DemoClient failed with error IllegalArgument(message:Row length is 0)

Modified:
    hbase/trunk/hbase-examples/src/main/java/org/apache/hadoop/hbase/thrift/DemoClient.java

Modified: hbase/trunk/hbase-examples/src/main/java/org/apache/hadoop/hbase/thrift/DemoClient.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-examples/src/main/java/org/apache/hadoop/hbase/thrift/DemoClient.java?rev=1514401&r1=1514400&r2=1514401&view=diff
==============================================================================
--- hbase/trunk/hbase-examples/src/main/java/org/apache/hadoop/hbase/thrift/DemoClient.java (original)
+++ hbase/trunk/hbase-examples/src/main/java/org/apache/hadoop/hbase/thrift/DemoClient.java Thu Aug 15 17:49:37 2013
@@ -170,12 +170,6 @@ public class DemoClient {
         client.mutateRow(ByteBuffer.wrap(t), ByteBuffer.wrap(bytes("foo")), 
             mutations, dummyAttributes);
 
-        // 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);
 
         // this row name is valid utf8
         mutations = new ArrayList<Mutation>();