Hi
I am getting:
org.apache.hadoop.hbase.client.RpcRetryingCaller@4d6a54b0,
java.io.IOException: Call to regionserver1/192.168.81.166:60020 failed
on local exception: com.google.protobuf.InvalidProtocolBufferException:
Protocol message was too large. May be malicious. Use
CodedInputStream.setSizeLimit() to increase the size limit.
I am using Java API
...
// Get image from table
HTablePool pool = new HTablePool(getConf(), 1);
HTableInterface usersTable = pool.getTable(table);
Get g = new Get(Bytes.toBytes(uid));
Result r = usersTable.get(g);
//g.addFamily(Bytes.toBytes("info"));
byte[] b = r.getValue(Bytes.toBytes(cf),Bytes.toBytes("content"));
String image = Bytes.toString(b);
FileOutputStream imageOutFile = new FileOutputStream(outFileName);
imageOutFile.write(Base64.decodeBase64(image));
...
As I understand then com.google.protobuf is limiting more than 64M messages.
Is that related? https://issues.apache.org/jira/browse/HBASE-11747
Is there workaround?
--
Margus (margusja) Roo
http://margus.roo.ee
skype: margusja
+372 51 480