Doris2.1.5 创建hive catalog报错NoClassDefFoundError: org/apache/solr/common/SolrException

Viewed 63

新搭建的集群Doris版本: 2.1.5

创建hive catalog时报错NoClassDefFoundError: org/apache/solr/common/SolrException
但是再次执行一次就不报错了,这是是FE服务缺包吗?
image.png

2 Answers

分析:经和SelectDB成员沟通,Doris2.1.5和2.1.7版本都有该问题,与ranger-hive-audit.xml文件中的solr相关配置信息有关。
解决:删除ranger-hive-audit.xml中所有配置项,只保留如下配置
ranger-hive-audit.xml配置文件如下

<configuration  xmlns:xi="http://www.w3.org/2001/XInclude">
</configuration>

这是warn日志吗?你这个用了hive catalog吗?