您好,登錄后才能下訂單哦!
今日安裝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進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。