Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-1604

import-hive.sh fails with Class Not Found Exception.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Resolved
    • 0.8-incubating
    • 0.8-incubating
    • atlas-intg
    • None

    Description

      import_hive.sh script fails with following exception :

      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
      

      Attachments

        1. ATLAS-1604.patch
          0.9 kB
          Ayub Pathan

        Activity

          People

            ayubpathan Ayub Pathan
            sharmadhas Sharmadha S
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: