Closed mohamedniyaz1996 closed 3 years ago
I tried using below block and it started working:
import happybase
connection = happybase.Connection("10.22.151.68",port=9090,transport="framed",protocol="compact")
print(connection.tables())
At newer version of HBase-2.1.0 , protocol had been modified to compact from binary which is set as default-value at happybase - Connection object
good to hear you figured it out, and also came back to describe the fix :+1:
It's my pleasue! Please add on the official PyPI docs about this as users would be reading much on README.md/ PyPI official documentation.
pull requests welcome :)
I tried to connect to remote Datanode of HBase cluster of version 2.1.0-chd6.2.1 like below:
But I am getting below error message:
But with Hbase version of 0.98.6-cdh5.3.0 it is printing tables properly. Please help me to figure out why it is not connecting to new version of HBase.