1.确认集群的协议是否一致,在连接的时候,改成一致的.例如集群配置的是TFramedTransport,TCompactProtocol 时
改成
connection = happybase.Connection('localhost', port=9090,transport='framed',protocol='compact')
2.将happyhbase 依赖的thriftpy2 升级到最新就可以了.
设为首页 加入收藏 |
|
当前位置: |
TOP | ||||||||||
解决habbybase 操作hbase报错TTransportException(type=4,message=’TSocket read 0 bytes)
|
||||||||||
最新文章 |
热门文章 |
Hot 文章 |
Python | ||||||||||
|
||||||||||
C 语言 | ||||||||||
|
||||||||||
C++基础 | ||||||||||
|
||||||||||
大数据基础 | ||||||||||
|
||||||||||
linux编程基础 | ||||||||||
|
||||||||||
C/C++面试题目 | ||||||||||
|
||||||||||