Questions tagged «zookeeper»

2
需要发出什么命令来检查ZooKeeper服务器是领导者还是跟随者?
已创建由三个ZooKeeper服务器组成的ZooKeeper法定人数。 zoo.cfg所有三个ZooKeeper服务器上的位置如下: maxClientCnxns=50 # The number of milliseconds of each tick tickTime=2000 # The number of ticks that the initial # synchronization phase can take initLimit=10 # The number of ticks that can pass between # sending a request and getting an acknowledgement syncLimit=5 # the directory where the snapshot …
23 linux  zookeeper 

1
无法在请求的2181端口启动ZK,而导出HBASE_MANAGES_ZK = false
问题 第一个目标是独立运行HBase。一旦启动HBase,导航到ip:60010 / master-status即可成功。 第二个目标是运行一个不同的ZooKeeper仲裁。ZooKeeper已下载并启动: netstat -nato | grep 2181 tcp 0 0 :::2181 :::* LISTEN off (0.00/0/0) 的conf/hbase-env.sh更改如下: # Tell HBase whether it should manage it's own instance of Zookeeper or not. export HBASE_MANAGES_ZK=false 为了避免HBase在启动HBase后启动ZooKeeper。 但是,一旦启动HBase,就会发生以下错误。 Could not start ZK at requested port of 2181. ZK was started at …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.