"An exception was thrown by org.apache.hadoop.hbase.io.asyncfs.FanOutOneBlockAsyncDFSOutputHel

2021/11/2 6:09:59

本文主要是介绍"An exception was thrown by org.apache.hadoop.hbase.io.asyncfs.FanOutOneBlockAsyncDFSOutputHel,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

有两种情况和原因

情况一:

WARN concurrent.DefaultPromise: An exception was thrown by
org.apache.hadoop.hbase.io.asyncfs.FanOutOneBlockAsyncDFSOutputHelper$6.operationComplete()
java.lang.Error: Couldn't properly initialize access to HDFS internals.
Please update your WAL Provider to not make use of the 'asyncfs' provider.

* 其中的6也可能是其它数值

 

原因:

WAL(Write-Ahead-Log)需要指定写入模式(WALFactory),有defaultProvider、asyncfs、filesystem、multiwal四种选项。

https://hbase.apache.org/devapidocs/org/apache/hadoop/hbase/wal/WALFactory.html

 

解决方法:

在hbase-site.xml文件添加属性

vim /hbase/conf/hbase-site.xml

添加以下内容:

<property>
  <name>hbase.wal.provider</name>
  <value>filesystem</value> <!--也可以用multiwal-->
</property>

 

 

情况二:

WARN [RS-EventLoopGroup-1-1] concurrent.DefaultPromise: An exception was thrown by
org.apache.hadoop.hbase.io.asyncfs.FanOutOneBlockAsyncDFSOutputHelper$4.operationComplete()
java.lang.IllegalArgumentException: object is not an instance of declaring class

* 其中的1-1也可能是其它数值

 

原因和解决方法:

只启动成功了Master(HMaster)和部分RegionServer,有1个或多个RegionServer没启动成功。

有可能是以下错误(解决方法也在里面):

https://www.cnblogs.com/live41/p/15497022.html

 



这篇关于"An exception was thrown by org.apache.hadoop.hbase.io.asyncfs.FanOutOneBlockAsyncDFSOutputHel的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程