0

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

该连接适用于具有以下设置的另一个不安全集群:

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

host2.domain.de现在我想通过 Zookeeper quorum(比如说)和 port连接到我的安全数据库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。

4

1 回答 1

0

不支持。

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

host 和 port 参数指定要连接的HBase Thrift 服务器的主机名和 TCP 端口。

于 2018-04-09T09:17:28.540 回答