Check the value configured in 'zookeeper.znode.parent'
进入hbase shell之后,执行list命令,报错如下15/04/23 15:24:31 ERROR client.HConnectionManager$HConnectionImplementation: Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch with the one configured in the master.http://s3.运维网.com/wyfs02/M00/6B/DF/wKiom1U4pNTj768jAAgEVizMkHI576.jpg
查看Hbase下的logs目录,查看了其输出的日志信息
Could not start ZK at requested port of 2181. ZK was started at port:2182. Aborting as clients(e.g. shell) will not be able to find this ZK quorum.
怀疑Zookeeper默认端口2181被占用,
1、使用命令lsof -i:2181查看端口被占用情况
http://s3.运维网.com/wyfs02/M01/6B/DC/wKioL1U4pjWwHyB8AAZBfjkl9G4282.jpg
2、杀死占用端口的进程
3、重新启动hbase,进入shell,执行list命令
http://s3.运维网.com/wyfs02/M01/6B/DF/wKiom1U4pNvQxW7gAAdARzDneGI964.jpg
页:
[1]