Protocol message was toolarge. May be malicious. Use CodedInputStream.setSizeLimit() to increase ...
来源:互联网 发布:2017做淘宝客要交钱吗 编辑:程序博客网 时间:2024/06/05 18:47
这是HBase较老版本的一个Bug,主要出现在HBase 0.98.2以及使用HBase 0.98.2的分布式数据库如Titan,JanusGraph中。
Caused by:Portable(java.io.IOException): Call to host:port failed on local exception:com.google.protobuf.InvalidProtocolBufferException: Protocol message was toolarge. May be malicious. Use CodedInputStream.setSizeLimit() to increase thesize limit.
原因:Google Protobuf默认Block上限是64MB,当访问超过64MB的HBase Cell时出现上述异常。
如超级节点的Get操作,其对应的HBase Cell一般超过64MB,get该节点时导致Protobuf访问异常。Scan和Write不受上述限制影响。
解决:升级HBase Client版本
1)修改HBase Client端ProtobufUtil.java代码,将size设置到合适值,然后重新编译HBase。
2) 采用更新版本的HBase,如HBase 0.98.23-hadoop*已经修正了这个bug。
Reference
https://issues.apache.org/jira/browse/HBASE-13825
0 0
- Protocol message was toolarge. May be malicious. Use CodedInputStream.setSizeLimit() to increase ...
- Use MFC in a Static Library,This may be due to a corruption of the heap....
- svn: The log message is a pathname (was -F intended?); use '--force-log' to override
- How to use bonding to increase the throughput?
- 内核启动错误:use vmalloc=<size> to increase size.
- warning C4996: 'strcpy': This function or variable may be unsafe. Consider using strcpy_s instead. To disable deprecation, use _
- svn提交时出现svn: The log message is a pathname (was -F intended?); use '--force-log' to override
- How to use Google's protocol-buffer
- ieltsListen was compiled with optimization - stepping may behave oddly; variables may not be availab
- was compiled with optimization - stepping may behave oddly; variables may not be available.
- iOS xcode ‘XXXX’ was compiled with optimization - stepping may behave oddly; variables may not be av
- [app-name] was compiled with optimization - stepping may behave oddly; variables may not be availabl
- ‘XXXX’ was compiled with optimization - stepping may behave oddly; variables may not be available
- xcode 项目 was compiled with optimization -stepping may behave oddly ;variable may not be available
- May be...
- JMeter错误:Response message: Non HTTP response message: Host of origin may not be blank
- 内存错误:allocation failed: out of vmalloc space - use vmalloc= to increase size.
- Sybase IQ: All buffer cache pages are in use, ask your DBA to increase问题解决
- 使用CMD实现批量重命名
- Zephyr 物联网操作系统环境搭建
- Redis监控
- 剑指Offer的旋转数组的最小数字问题是要二分法解决
- SQL 语句转换格式函数Cast、Convert
- Protocol message was toolarge. May be malicious. Use CodedInputStream.setSizeLimit() to increase ...
- 微信端开发 操作步奏
- 数据可视化≠数据分析 切莫本末倒置
- SVM的理解
- MAC下使用xampp自带的mysql
- 题目1460:Oil Deposit
- 记一次“大华”的面试
- vsftpd服务的配置(匿名用户)
- SVN