hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeffr...@apache.org
Subject svn commit: r1514401 - /hbase/trunk/hbase-examples/src/main/java/org/apache/hadoop/hbase/thrift/DemoClient.java
Date Thu, 15 Aug 2013 17:49:38 GMT
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>();



Mime
View raw message