You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Ayub Khan (JIRA)" <ji...@apache.org> on 2017/02/28 11:22:45 UTC

[jira] [Commented] (ATLAS-1604) import-hive.sh fails with Class Not Found Exception.

    [ https://issues.apache.org/jira/browse/ATLAS-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15887828#comment-15887828 ] 

Ayub Khan commented on ATLAS-1604:
----------------------------------

[~madhan.neethiraj] I believe atlas-intg dependency should be added in all models. Please suggest.

> 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)