运行jps时,我看到我没有运行HRegionServer,如this问题中所示。

但是在那个问题上,他显示了一些我找不到的HRegionServer日志。关于HRegionServer的所有内容都是常规hbase日志的一部分:

2014-06-16 16:42:58,845 FATAL [RS:0;test-254:35769] regionserver.HRegionServer: ABORTING region server test-254.office,35769,1402929575620: Initi
alization of RS failed.  Hence aborting RS.
java.io.IOException: Received the shutdown message while waiting.
        at org.apache.hadoop.hbase.regionserver.HRegionServer.blockAndCheckIfStopped(HRegionServer.java:736)
        at org.apache.hadoop.hbase.regionserver.HRegionServer.initializeZooKeeper(HRegionServer.java:691)
        at org.apache.hadoop.hbase.regionserver.HRegionServer.preRegistrationInitialization(HRegionServer.java:657)
        at org.apache.hadoop.hbase.regionserver.HRegionServer.run(HRegionServer.java:785)
        at java.lang.Thread.run(Thread.java:744)
2014-06-16 16:42:58,848 FATAL [RS:0;test-254:35769] regionserver.HRegionServer: RegionServer abort: loaded coprocessors are: []
2014-06-16 16:42:58,848 INFO  [RS:0;test-254:35769] regionserver.HRegionServer: STOPPED: Initialization of RS failed.  Hence aborting RS.

我没有那个问题的家伙具体的HMaster / HRegionServer。我需要在某些属性中指定它吗?

最佳答案

区域服务器日志可以位于以下位置。

  RegionServer: $HBASE_HOME/logs/hbase-<user>-regionserver-<hostname>.log

10-06 01:18