【发布时间】:2017-08-09 15:27:55
【问题描述】:
我想通过 HappyBase (python) 连接到 Kerberos 安全 HBase 数据库。
该连接适用于具有此设置的另一个不安全集群:
import happybase
connection = happybase.Connection("host1.domain.de", port=9090)
connection.open()
print(connection.tables())
现在我想通过 Zookeeper quorum(比如说host2.domain.de)和端口2181 连接到我的安全数据库。 zookeper 节点为/hbase-secured
我尝试使用与上面所示相同的代码连接到我的数据库(在通过控制台创建kinit 之后)。但我无法连接。改了/hbase-securedzookeeper节点好像有问题。
是否有可能更改此 zookeeper 节点设置?或者,HappyBase 还不能连接到 Kerberized 集群吗?我需要以其他方式进行 Kerberos 设置吗?
我在 Hortonworks Data Platform 2.6 环境中使用 HBase 1.1.2,尝试连接 HappyBase 1.1.0。
【问题讨论】:
标签: python hbase kerberos hortonworks-data-platform happybase