atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 贾建雨 (JIRA) <j...@apache.org>
Subject [jira] [Created] (ATLAS-3173) 在通过import-hive.sh指令上传hive中的元数据的时候,出现name=admin,not e'xist情况!
Date Fri, 26 Apr 2019 08:53:00 GMT
贾建雨 created ATLAS-3173:
--------------------------

             Summary: 在通过import-hive.sh指令上传hive中的元数据的时候,出现name=admin,not
e'xist情况!
                 Key: ATLAS-3173
                 URL: https://issues.apache.org/jira/browse/ATLAS-3173
             Project: Atlas
          Issue Type: Task
          Components:  atlas-core
    Affects Versions: 1.1.0
         Environment: Hadoop2.7.2 ;hive1.2.1.maven3.5.4;Apache Atlas1.1.0
            Reporter: 贾建雨


[root@maria apache-atlas-1.1.0]# bin/import-hive.sh 
Using Hive configuration directory [:/opt/module/hive/conf]
Log file for import is /opt/module/apache-atlas-sources-1.1.0/distro/target/apache-atlas-1.1.0-bin/apache-atlas-1.1.0/logs/import-hive.log
log4j:WARN No such property [maxFileSize] in org.apache.log4j.PatternLayout.
log4j:WARN No such property [maxBackupIndex] in org.apache.log4j.PatternLayout.
Enter username for atlas :- admin
Enter password for atlas :- 
Exception in thread "main" java.lang.NoClassDefFoundError: com/fasterxml/jackson/jaxrs/json/JacksonJaxbJsonProvider
 at org.apache.atlas.AtlasBaseClient.getClient(AtlasBaseClient.java:253)
 at org.apache.atlas.AtlasBaseClient.initializeState(AtlasBaseClient.java:425)
 at org.apache.atlas.AtlasBaseClient.initializeState(AtlasBaseClient.java:420)
 at org.apache.atlas.AtlasBaseClient.<init>(AtlasBaseClient.java:115)
 at org.apache.atlas.AtlasClientV2.<init>(AtlasClientV2.java:77)
 at org.apache.atlas.hive.bridge.HiveMetaStoreBridge.main(HiveMetaStoreBridge.java:131)
Caused by: java.lang.ClassNotFoundException: com.fasterxml.jackson.jaxrs.json.JacksonJaxbJsonProvider
 at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
 ... 6 more
Failed to import Hive Meta Data!!!

日志中报错:

ERROR - [pool-1-thread-3 - 0e1bff9f-cf76-4e0d-be14-b261ea803e4a:] ~ graph rollback due to
exception AtlasBaseException:Instance __AtlasUserProfile with unique attribute \{name=admin}
does not exist (GraphTransactionInterceptor:156)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message