温馨提示×

温馨提示×

您好,登录后才能下订单哦!

密码登录×
登录注册×
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》

Hbase连接外部ZK

发布时间:2020-03-13 20:26:21 阅读:2794 作者:guhongzi 栏目:关系型数据库
开发者测试专用服务器限时活动,0元免费领,库存有限,领完即止! 点击查看>>

今日安装Hbase,为了和kafka等共用ZK,于是未使用Hbase自带ZK,于是,坑就出现了,Hbase配置完成后,起不来,日志如下:

Java HotSpot(TM64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0
Java HotSpot(TM64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0
SLF4JClass path contains multiple SLF4J bindings.
SLF4JFound binding in [jar:file:/Users/huzhixin/Cloud/hbase/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4JFound binding in [jar:file:/Users/huzhixin/Cloud/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4JSee http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4JActual 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启动成功。

声明:纯属个人踩坑记录,只能保证对本人问题有效

亿速云「云服务器」,即开即用、新一代英特尔至强铂金CPU、三副本存储NVMe SSD云盘,价格低至29元/月。点击查看>>

向AI问一下细节

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

AI

开发者交流群×