hbase启动错误:Please check the config value of hbase.procedure.store.wal.use.hsync

错误描述

日志文件 hbase-root-master-hadoop1.log 报错如下:

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-2.1.9/conf/hbase-site.xml 配置文件,增加下面内容:

<property>
    <name>hbase.unsafe.stream.capability.enforce</name>
    <value>false</value>
</property>

原文出处:/show_1IX2yZYXm1U5.html