爱上看Hbase日志,身为小白白的我,一开始日志在哪我都不知道!路径:cat $HBASE_HOME/logs/hbase-hadoop-master-Master.log(也就是安装hbase下的logs文件夹中))。
日志白茫茫一片怎么看呢,其实Info什么的都不用管,直奔ERROR就可以。
如下:
2018-11-25 19:42:52,179 ERROR [Thread-14] master.HMaster: ***** ABORTING master ubuntu,16000,1543203761945: Unhandled exception. Starting shutdown. *****
java.lang.IllegalStateException: The procedure WAL relies on the ability to hsync for proper operation during component failures, but the underlying filesystem does not support doing so. Please check the config value of 'hbase.procedure.store.wal.use.hsync' to set the desired level of robustness and ensure the config value of 'hbase.wal.dir' points to a FileSystem mount that can provide it.
at org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore.rollWriter(WALProcedureStore.java:1044)
at org.apache.hadoop.hbase.procedure2.store.wal.WALProcedureStore.r