本帖最后由 pig2 于 2014-9-15 13:01 编辑
在hdfs上的hbase目录下面没有跟日志相关的文件。
hbase的配置
<configuration>
<property>
<name>hbase.rootdir</name>
<value>hdfs://10.1.1.30/hbase</value>
</property>
<property>
<name>hbase.tmp.dir</name>
<value>file:/usr/hbase/tmp</value>
</property>
<property>
<name>hbase.master</name>
<value>hdfs://master:60000</value>
</property>
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>file:/usr/hbase/zookeeper</value>
</property>
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
<property>
<name>hbase.zookeeper.quorum</name>
<value>master,slave1,slave2</value>
</property>
</configuration>
master.log里面的错误信息就是
2014-09-15 11:40:04,191 INFO [master:master:60000] master.HMaster: Stopping infoServer
2014-09-15 11:40:04,191 INFO [master:master:60000.oldLogCleaner] cleaner.LogCleaner: master:master:60000.oldLogCleaner exiting
2014-09-15 11:40:04,191 INFO [RpcServer.responder] ipc.RpcServer: RpcServer.responder: stopped
2014-09-15 11:40:04,191 INFO [master:master:60000.oldLogCleaner] master.ReplicationLogCleaner: Stopping replicationLogCleaner-0x148775abce80006, quorum=slave1:2181,master:2181,slave2:2181, baseZNode=/hbase
2014-09-15 11:40:04,191 INFO [master:master:60000.archivedHFileCleaner] cleaner.HFileCleaner: master:master:60000.archivedHFileCleaner exiting
2014-09-15 11:40:04,192 INFO [RpcServer.responder] ipc.RpcServer: RpcServer.responder: stopping
2014-09-15 11:40:04,193 INFO [master:master:60000] mortbay.log: Stopped SelectChannelConnector@0.0.0.0:60010
2014-09-15 11:40:04,197 INFO [master:master:60000.oldLogCleaner] zookeeper.ZooKeeper: Session: 0x148775abce80006 closed
2014-09-15 11:40:04,197 INFO [master:master:60000-EventThread] zookeeper.ClientCnxn: EventThread shut down
2014-09-15 11:40:04,302 DEBUG [master:master:60000] catalog.CatalogTracker: Stopping catalog tracker org.apache.hadoop.hbase.catalog.CatalogTracker@2046338f
2014-09-15 11:40:04,302 INFO [master:master:60000] client.HConnectionManager$HConnectionImplementation: Closing zookeeper sessionid=0x348775a97d10008
2014-09-15 11:40:04,310 INFO [master:master:60000] zookeeper.ZooKeeper: Session: 0x348775a97d10008 closed
2014-09-15 11:40:04,310 INFO [master:master:60000-EventThread] zookeeper.ClientCnxn: EventThread shut down
2014-09-15 11:40:04,410 INFO [master,60000,1410752396682.splitLogManagerTimeoutMonitor] master.SplitLogManager$TimeoutMonitor: master,60000,1410752396682.splitLogManagerTimeoutMonitor exiting
2014-09-15 11:40:04,418 INFO [master:master:60000] zookeeper.ZooKeeper: Session: 0x348775a97d10007 closed
2014-09-15 11:40:04,418 INFO [master:master:60000] master.HMaster: HMaster main thread exiting
2014-09-15 11:40:04,418 INFO [main-EventThread] zookeeper.ClientCnxn: EventThread shut down
2014-09-15 11:40:04,418 ERROR [main] master.HMasterCommandLine: Master exiting
java.lang.RuntimeException: HMaster Aborted
at org.apache.hadoop.hbase.master.HMasterCommandLine.startMaster(HMasterCommandLine.java:194)
at org.apache.hadoop.hbase.master.HMasterCommandLine.run(HMasterCommandLine.java:135)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
hdfs里的文件
|