Hbase连接外部ZK
今日安装Hbase,为了和kafka等共用ZK,于是未使用Hbase自带ZK,于是,坑就出现了,Hbase配置完成后,起不来,日志如下:
10年积累的成都网站制作、成都做网站经验,可以快速应对客户对网站的新想法和需求。提供各种问题对应的解决方案。让选择我们的客户得到更好、更有力的网络服务。我虽然不认识你,你也不认识我。但先网站设计后付款的网站建设流程,更有长安免费网站建设让你可以放心的选择与我们合作。
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0 Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0 SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/Users/huzhixin/Cloud/hbase/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/Users/huzhixin/Cloud/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory] 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.
由于刚接触这方面内容,并且ZK设置的也是2181,于是以为Hbaseyou相关设置ZK端口,发现没有,
于是网上各种搜索,http://blog.chinaunix.net/uid-26275986-id-3824526.html 来自这篇文章启发 查看了一下端口2181,发现是个java进程,和作者一样,于是杀掉进程,然后Hbase启动成功。
声明:纯属个人踩坑记录,只能保证对本人问题有效
新闻标题:Hbase连接外部ZK
当前网址:http://scyanting.com/article/gceopj.html