From 00c3eb1a0e15adb72ad1a28f6618100241ceb8ab Mon Sep 17 00:00:00 2001 From: jeffreyz Date: Thu, 15 Aug 2013 17:49:37 +0000 Subject: [PATCH] hbase-9222: Thrift DemoClient failed with error IllegalArgument(message:Row length is 0) git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1514401 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/hadoop/hbase/thrift/DemoClient.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/hbase-examples/src/main/java/org/apache/hadoop/hbase/thrift/DemoClient.java b/hbase-examples/src/main/java/org/apache/hadoop/hbase/thrift/DemoClient.java index 1af5f6248cc..c46ef840db1 100644 --- a/hbase-examples/src/main/java/org/apache/hadoop/hbase/thrift/DemoClient.java +++ b/hbase-examples/src/main/java/org/apache/hadoop/hbase/thrift/DemoClient.java @@ -170,12 +170,6 @@ public class DemoClient { client.mutateRow(ByteBuffer.wrap(t), ByteBuffer.wrap(bytes("foo")), mutations, dummyAttributes); - // try empty strings - mutations = new ArrayList(); - 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();