想用Apache Atlas进行元数据管理,atlas搭建完成且启动成功,但是在将hive元数据导入atlas时报如下错误,从网上找了解决方法都没有解决问题。有哪位大侠知道怎么解决,指导一下,万分感谢!
2022-02-07 14:39:08,912 ERROR - [main:] ~ import failed (HivemetaStoreBridge:179)org.apache.atlas.AtlasException: Failed to load application propertiesat org.apache.atlas.ApplicationProperties.get(ApplicationProperties.java:147) ~[atlas-intg-2.1.0.jar:2.1.0]at org.apache.atlas.ApplicationProperties.get(ApplicationProperties.java:100) ~[atlas-intg-2.1.0.jar:2.1.0]at org.apache.atlas.hive.bridge.HivemetaStoreBridge.main(HivemetaStoreBridge.java:123) [hive-bridge-2.1.0.jar:2.1.0]Caused by: org.apache.commons.configuration.ConversionException: 'atlas.graph.index.search.solr.wait-searcher' doesn't map to a List object: true, a java.lang.Booleanat org.apache.commons.configuration.AbstractConfiguration.getList(AbstractConfiguration.java:1144) ~[commons-configuration-1.6.jar:1.6]at org.apache.commons.configuration.AbstractConfiguration.getList(AbstractConfiguration.java:1109) ~[commons-configuration-1.6.jar:1.6]at org.apache.commons.configuration.AbstractConfiguration.interpolatedConfiguration(AbstractConfiguration.java:1274) ~[commons-configuration-1.6.jar:1.6]at org.apache.atlas.ApplicationProperties.get(ApplicationProperties.java:142) ~[atlas-intg-2.1.0.jar:2.1.0]..、2 more
Atlas集成Hive步骤
Atlas集成Hive1.安装Hive Hook1)解压Hive Hook[root@hadoop102 ~]# tar -zxvf apache-atlas-2.1.0-hive-hook.tar.gz2)将Hive Hook依赖复制到Atlas安装路径[root@hadoop102 ~]# cp -r apache-atlas-hive-hook-2.1.0/* /opt/module/atlas/3)修改/opt/module/hive/conf/hive-env.sh配置文件注:需先需改文件名[root@hadoop102 ~]# mv hive-env.sh.template hive-env.sh增加如下参数export HIVE_AUX_JARS_PATH=/opt/module/atlas/hook/hive2.修改Hive配置文件,在/opt/module/hive/conf/hive-site.xml文件中增加以下参数,配置Hive Hook。