atlas-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ayub Khan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (ATLAS-1604) import-hive.sh fails with Class Not Found Exception.
Date Tue, 28 Feb 2017 11:20:45 GMT

     [ https://issues.apache.org/jira/browse/ATLAS-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ayub Khan updated ATLAS-1604:
-----------------------------
    Attachment: ATLAS-1604.patch

Attaching patch for review. [~madhan.neethiraj] / [~vimalk78]

> import-hive.sh fails with Class Not Found Exception.
> ----------------------------------------------------
>
>                 Key: ATLAS-1604
>                 URL: https://issues.apache.org/jira/browse/ATLAS-1604
>             Project: Atlas
>          Issue Type: Bug
>          Components: atlas-intg
>    Affects Versions: 0.8-incubating
>            Reporter: Sharmadha Sainath
>            Assignee: Ayub Khan
>            Priority: Blocker
>         Attachments: ATLAS-1604.patch
>
>
> import_hive.sh script fails with following exception :
> {code}
> Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/atlas/type/AtlasType
> 	at org.apache.atlas.AtlasClient$EntityResult.fromString(AtlasClient.java:322)
> 	at org.apache.atlas.AtlasClient.extractEntityResult(AtlasClient.java:496)
> 	at org.apache.atlas.AtlasClient.updateEntity(AtlasClient.java:582)
> 	at org.apache.atlas.hive.bridge.HiveMetaStoreBridge.updateInstance(HiveMetaStoreBridge.java:522)
> 	at org.apache.atlas.hive.bridge.HiveMetaStoreBridge.registerDatabase(HiveMetaStoreBridge.java:175)
> 	at org.apache.atlas.hive.bridge.HiveMetaStoreBridge.importDatabases(HiveMetaStoreBridge.java:140)
> 	at org.apache.atlas.hive.bridge.HiveMetaStoreBridge.importHiveMetadata(HiveMetaStoreBridge.java:134)
> 	at org.apache.atlas.hive.bridge.HiveMetaStoreBridge.main(HiveMetaStoreBridge.java:642)
> Caused by: java.lang.ClassNotFoundException: org.apache.atlas.type.AtlasType
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> 	... 8 more
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message