Sharmadha Sainath created ATLAS-1604: ----------------------------------------
Summary: 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 Priority: Blocker 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)