完整報錯為:
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.
解決方法
隻需要修改
hbase-site.xml
配置檔案,添加:
<property>
<name>hbase.unsafe.stream.capability.enforce</name>
<value>false</value>
</property>
然後重新開機Hbase即可
參考網站:
https://stackoverflow.com/questions/48709569/hbase-error-illegalstateexception-when-starting-master-hsync