配置Hbase Zookeeper 注意事项 配置hbase.zookeeper.quorum property.

来源:互联网 发布:淘宝咸鱼搜索 编辑:程序博客网 时间:2024/04/29 04:53
To avoid any confusion during deployment it is highly recommended
not to use a zoo.cfg with HBase but solely the hbase-site.xml.
Especially in a fully distributed setup where you have your own
ZooKeeper servers it is not practical to copy the configuration from
the ZooKeeper nodes to the HBase servers.
If you are using the hbase-site.xml approach to specify all
ZooKeeper settings you must at least set the ensemble servers with
the hbase.zookeeper.quorum property. It otherwise defaults to a
single ensemble member at localhost which is not suitable for a fully
distributed HBase (it binds to the local machine only and remote
clients will not be able to connect).
原创粉丝点击