I'm trying to connect hbase by happybase framework version 0.8.
I've started daemon thrift -
/usr/hdp/current/hbase-master/bin/hbase-daemon.sh start thrift -p 9090
from happybase.connection import Connection
DEFAULT_HOST = '10.128.121.13'
DEFAULT_PORT = 9090
DEFAULT_TRANSPORT = 'framed'
DEFAULT_COMPAT = '0.96'`
cc = Connection(DEFAULT_HOST,DEFAULT_PORT,None,True,None,'_',DEFAULT_COMPAT,DEFAULT_TRANSPORT) print(cc.tables())`
Do I need to start thrift service in all nodes, Hbase master and RegionServers ?
I got this error:
TSocket read 0 bytes