欢迎您访问365答案网,请分享给你的朋友!
生活常识 学习资料

org.apache.atlas.AtlasException:Failedtoloadapplicationproperties

时间:2023-07-26

想用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。 hive.exec.post.hooks org.apache.atlas.hive.hook.HiveHook3.修改/opt/module/atlas/conf/atlas-application.properties配置文件中的以下参数######### Hive Hook Configs #######atlas.hook.hive.synchronous=falseatlas.hook.hive.numRetries=3atlas.hook.hive.queueSize=10000atlas.cluster.name=primary4)将Atlas配置文件/opt/module/atlas/conf/atlas-application.properties拷贝到/opt/module/hive/conf目录[root@hadoop102 ~]# cp /opt/module/atlas/conf/atlas-application.properties /opt/module/hive/conf/

Copyright © 2016-2020 www.365daan.com All Rights Reserved. 365答案网 版权所有 备案号:

部分内容来自互联网,版权归原作者所有,如有冒犯请联系我们,我们将在三个工作时内妥善处理。