2014-01-18 236 views
1

我是HBASE的新手,在嘗試安裝Ubuntu系統時,我遇到了一些問題。無法在Ubuntu上安裝Hbase with Hadoop

下面是Zookeeper日誌文件

2014-01-18 06:10:51,392 WARN org.apache.zookeeper.server.NIOServerCnxn: caught end of stream exception EndOfStreamException: Unable to read additional data from client sessionid 0x143a5b052980000, likely client has closed socket at org.apache.zookeeper.server.NIOServerCnxn.doIO(NIOServerCnxn.java:220) at org.apache.zookeeper.server.NIOServerCnxnFactory.run(NIOServerCnxnFactory.java:208) at java.lang.Thread.run(Thread.java:744) 2014-01-18 06:10:51,394 INFO org.apache.zookeeper.server.NIOServerCnxn: Closed socket connection for client /127.0.0.1:56671 which had sessionid 0x143a5b052980000

錯誤日誌下面是主日誌錯誤日誌:

2014-01-18 06:10:51,381 INFO org.apache.zookeeper.ZooKeeper: Session: 0x143a5b052980000 closed 2014-01-18 06:10:51,381 INFO org.apache.hadoop.hbase.master.HMaster: HMaster main thread exiting 2014-01-18 06:10:51,381 ERROR org.apache.hadoop.hbase.master.HMasterCommandLine: Failed to start master java.lang.RuntimeException: HMaster Aborted at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:160) at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:104) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65) at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:76) at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:2120)

請注意,我能夠成功啓動Hbase。我的意思是在啓動Hbase後,我能夠看到Hmaster使用jps命令運行。但只要我嘗試去Hbase外殼,這個問題就出現了,然後通過執行jps命令,我在列表中找不到Hmaster

請幫助我解決這個問題,因爲我試圖從最後幾天自己解決它,但沒有運氣。請幫忙。

+0

Zookeeper呢?它在運行嗎? –

+0

尋找動物園管理員日誌也會有所幫助。 – phs

+0

沒有zookeeper停止運行。 – user3210024

回答

1

我建議您檢查hbase-site.xml中使用的配置。如果配置不正確,動物園管理員可能會停止運行,您將會遇到這種奇怪的例外情況。