python使用happybase连接hbase出错,代码如下:
import happybase
c = happybase.Connection('127.0.0.1',9090, autoconnect=False)
c.open()
print(c.tables())
因为hbase thrift服务未启动
hbase thrift start后即可正常使用
python使用happybase连接hbase出错,代码如下:
import happybase
c = happybase.Connection('127.0.0.1',9090, autoconnect=False)
c.open()
print(c.tables())
因为hbase thrift服务未启动
hbase thrift start后即可正常使用
本文标题:python HappyBase连接hbase No proto
本文链接:https://www.haomeiwen.com/subject/uixlrftx.html
网友评论