今日安装Hbase,为了和kafka等共用ZK,于是未使用Hbase自带ZK,于是,坑就出现了,Hbase配置完成后,起不来,日志如下:
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启动成功。
声明:纯属个人踩坑记录,只能保证对本人问题有效
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。