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
This commit is contained in:
parent
4dd82c9b1c
commit
00c3eb1a0e
|
@ -170,12 +170,6 @@ public class DemoClient {
|
||||||
client.mutateRow(ByteBuffer.wrap(t), ByteBuffer.wrap(bytes("foo")),
|
client.mutateRow(ByteBuffer.wrap(t), ByteBuffer.wrap(bytes("foo")),
|
||||||
mutations, dummyAttributes);
|
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
|
// this row name is valid utf8
|
||||||
mutations = new ArrayList<Mutation>();
|
mutations = new ArrayList<Mutation>();
|
||||||
|
|
Loading…
Reference in New Issue