有人遇到这个问题吗?求指导怎么解决
连接代码:
import hbase
zk = '192.168.8.111:2181'
if name == 'main':
with hbase.ConnectionPool(zk).connect() as conn:
table = conn['stu']['test']
row = table.get('1')
print(row)
exit()
报错现象:hbase.exceptions.TransportError: Failed to connect to server hadoop1:16000.