更改Hbase大小限制 [英] Change Hbase size limit
问题描述
我在其中一个表格中有一行超过了64MB的默认大小。现在,无论何时我尝试扫描该行或将其删除,都会显示此错误:
I have in one of my tables one of the rows exceeding the default size of 64MB. Now whenever I try to scan that row or delete it this error shows up:
错误:协议消息太大。可能是恶意的。使用CodedInputStream.setSizeLimit()来增加大小限制。
ERROR: Protocol message was too large. May be malicious. Use CodedInputStream.setSizeLimit() to increase the size limit.
我试过在hbase-site.xml hbase.client中进行更改。 keyvalue.maxsize为256MB,并没有效果。
I've tried changing in hbase-site.xml hbase.client.keyvalue.maxsize to 256MB and it has no effect.
我也试过没有运气可以直接用shell来改变它。
I've also tried with no luck to change it from the shell directly with
CodedInputStream.setSizeLimit(268435456)
如何更改此限制?
谢谢!
Thanks!
推荐答案
There is an open jira for this:
您可以对于ETA或解决方法,jira上的评论。
这篇关于更改Hbase大小限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!