apache atlas在导入配置单元元数据时在cdh中使用

2o7dmzc5  于 2021-06-26  发布在  Hive
关注(0)|答案(1)|浏览(429)

root>sh import-hive.sh使用配置单元配置目录[/opt/cloudera/parcels/cdh/lib/hive//conf]/云时代/云时代/云时代/包裹/cdh/cloudera/云时代/包裹/cdh/cloudera//hive/hive/conf:/:/opt/cloudera/clo云时代/云时代/云时代/包裹/cdh/云时代/云时代/云时代/包裹/cdh//cdh//cdh/cdh//cdh/云时代/包裹/cdh-5.13.13.0//opt/clo云时代/包裹/cdh-5.13.0-1.cdhh5.13.0.13.5.13.0.5.0.0.0.0.0.0.p0.p.29/lib/lib//lib/hadoop/hadoop/hadoop///政府/国家/经济///云时代////////////////////////////cdh/云时代////云时代/包裹//0-1.cdh5.13。0.0.0.0.p0.29/lib/p0.29/lib/图书馆/hadoop/hadoop/ladoop/ladoop/p0.0.0.0.0.0.p0.29/lib/图书馆/hadoop/ladoop/lib库/库/hadoop/libex/libde/libexc/图书馆/hadoop/hadoop/hadoop hdfs/lib///./hadoop/cloudera/包裹/cdh-5.13.13.0.0.0.0.1.5.5.13.13.0.0.0.0.0-1.5.5.5.13.13.13.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.云/云/包裹/cdh/lib/hadoop-mapreduce/lib/:/opt/cloudera/parcels/cdh/lib/hadoop-mapreduce////导入的日志文件是/root/apache-atlas-sources-1.0.0/addons/hive-bridge/src/logs/import-hive.log log4j:警告org.apache.log4j.patternlayout中没有此类属性[maxfilesize]。log4j:警告org.apache.log4j.patternlayout中没有这样的属性[maxbackupindex]。输入atlas的用户名:-管理员输入atlas的密码:-线程“main”java.lang.nosuchmethoderror中出现异常:com.fasterxml.jackson.databind.util.beanutil.oknameforget(lcom/fasterxml/jackson/databind/introspect/annotatedmethod;z) ljava/lang/string;在com.fasterxml.jackson.module.jaxb.jaxbannotationintrospector.findnameforeserialization(jaxbannotationintrospector)上。java:936)在com.fasterxml.jackson.databind.introspect.annotationintrospectorpair.findnameforserialization(annotationintrospectorpair。java:498)在com.fasterxml.jackson.databind.introspect.pojopropertiescollector.\u addgettermethod(pojopropertiescollector)。java:502)在com.fasterxml.jackson.databind.introspect.pojopropertiescollector.\u addmethods(pojopropertiescollector。java:465)在com.fasterxml.jackson.databind.introspect.pojopropertiescollector.collect(pojopropertiescollector。java:233)在com.fasterxml.jackson.databind.introspect.basicclassintrospector.collectproperties(basicclassintrospector。java:142)访问com.fasterxml.jackson.databind.introspect.basicclassintrospector.forserialization(basicclassintrospector。java:68)访问com.fasterxml.jackson.databind.introspect.basicclassintrospector.forserialization(basicclassintrospector。java:11) 在com.fasterxml.jackson.databind.serializationconfig.introspect(serializationconfig。java:490)在com.fasterxml.jackson.databind.ser.beanserializerfactory.createserializer(beanserializerfactory。java:133)在com.fasterxml.jackson.databind.serializerprovider.\u createuntypedserializer(serializerprovider。java:873)在com.fasterxml.jackson.databind.serializerprovider.\u createandcacheuntypedserializer(serializerprovider。java:833)在com.fasterxml.jackson.databind.serializerprovider.findvalueserializer(serializerprovider。java:387)位于com.fasterxml.jackson.databind.serializerprovider.findtypedvalueserializer(serializerprovider)。java:478)在com.fasterxml.jackson.databind.ser.defaultserializerprovider.serializevalue(defaultserializerprovider)。java:97)在com.fasterxml.jackson.databind.objectwriter.writevalue(objectwriter。java:494)在com.fasterxml.jackson.jaxrs.base.providerbase.writeto(providerbase。java:625)在com.sun.jersey.api.client.requestwriter.writerequestentity(requestwriter。java:300)在com.sun.jersey.client.urlconnection.urlconnectionclienthandler.\u调用(urlconnectionclienthandler。java:204)在com.sun.jersey.client.urlconnection.urlconnectionclienthandler.handle(urlconnectionclienthandler。java:147)在com.sun.jersey.api.client.filter.httpbasicauthfilter.handle(httpbasicauthfilter。java:81)在com.sun.jersey.api.client.client.handle(client。java:648)在com.sun.jersey.api.client.webresource.handle(webresource。java:670)网址:com.sun.jersey.api.client.webresource.access$200(webresource。java:74)在com.sun.jersey.api.client.webresource$builder.method(webresource。java:623)在org.apache.atlas.atlasbaseclient.callapiwithresource(atlasbaseclient。java:356)在org.apache.atlas.atlasbaseclient.callapiwithresource(atlasbaseclient。java:327)在org.apache.atlas.atlasbaseclient.callapi(atlasbaseclient。java:212)在org.apache.atlas.atlasclientv2.createentity(atlasclientv2。java:285)在org.apache.atlas.hive.bridge.hivemetastorebridge.registerinstance(hivemetastorebridge。java:446)位于org.apache.atlas.hive.bridge.hivemetastorebridge.registerdatabase(hivemetastorebridge)。java:398)在org.apache.atlas.hive.bridge.hivemetastorebridge.importdatabases(hivemetastorebridge。java:277)在org.apache.atlas.hive.bridge.hivemetastorebridge.importhivemetadata(hivemetastorebridge。java:247)在org.apache.atlas.hive.bridge.hivemetastorebridge.main(hivemetastorebridge。java:168)无法导入配置单元元数据!!!

ttygqcqt

ttygqcqt1#

首先,注意apacheatlas通常不用于cdh。
apacheatlas是hdp附带的治理解决方案。
在cdh中,治理解决方案是clouderanavigator。
也就是说,atlas是一个开源项目,因此您可以在任何hadoop设置中自由使用它。我不确定这是否容易实现,因为很可能是组件依赖性问题的原因。
如果你想让atlas工作,确保你有正确的支持组件以及所有兼容的版本。

相关问题