hbase启动的时候出现下面这个错误:
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时遇到一个错误,提示WAL(Write-Ahead Log)依赖于hsync功能,但底层文件系统不支持。为了解决这个问题,可以在hbase-site.xml配置文件中添加新的配置项:将'hbase.unsafe.stream.capability.enforce'设置为'false',以禁用对流能力的强制检查,确保服务能够正常启动。
5756

被折叠的 条评论
为什么被折叠?



