天天看点

HBASE:hmaster启动报错

我在安装部署完成之后,进入hbase shell,发现无法成功创建表。最后,发现是在hmaster启动时报错了,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.

经过查询官方文档和资料,终于发现了问题所在。我安装部署的是Hadoop-2.9.0和hbase-2.0.0,版本中不支持hsync,所以才会报错。将hbase换成hbase-1.4.4,然后重新启动Hadoop和hbase问题就解决了!

继续阅读