在 HappyBase HBase 客户端中设置 Zookeeper 节点(znode)设置

Set Zookeeper Node (znode) setting in HappyBase HBase client

我想通过 HappyBase (python) 连接到 Kerberos 安全 HBase 数据库。

此连接适用于另一个 不安全 集群,设置如下:

import happybase
connection = happybase.Connection("host1.domain.de", port=9090)
connection.open()
print(connection.tables())

现在我想通过 Zookeeper 仲裁(假设 host2.domain.de)和端口 2181 连接到我的安全数据库。 zookeper 节点是 /hbase-secured

我尝试使用与上面所示相同的代码连接到我的数据库(在通过控制台创建 kinit 之后)。但我无法连接。好像是改了的/hbase-secured zookeeper节点有问题

是否可以更改此 zookeeper 节点设置?或者 HappyBase 还不能连接到 Kerberized 集群?我是否需要以其他方式进行 Kerberos 设置?

我在 Hortonworks Data Platform 2.6 环境中使用 HBase 1.1.2,尝试连接 HappyBase 1.1.0。

不支持。

https://happybase.readthedocs.io/en/latest/api.html#connection

The host and port arguments specify the host name and TCP port of the HBase Thrift server to connect to.