hbase 安全管理(kerberos)配置完成启动方式

时间:2022-10-18 20:45:01

如若启动方式采用如下形式:

# start-hbase.sh

发现master和region都起来了,但master中日志中一直打印如下日志:

2017-03-13 17:00:39,368 INFO  [d721:60000.activeMasterManager] master.ServerManager: Waiting for region servers count to settle; currently checked in 0, slept for 15204 ms, expecting minimum of 1, maximum of 2147483647, timeout of 4500 ms, interval of 1500 ms.

正确启动应当如下:

$ hbase-daemon.sh start master ####等待20秒左右
$ hbase-daemon.sh start regionserver

注:hadoop安全管理相关教程:
Kerberos从入门到放弃(一):HDFS使用kerberos
Setting Up Kerberos Authentication for Non-Ambari Clusters