Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-8690

Camel HDFS2 - ShutdownHookManager class not found when shutting down OSGi framework

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.15.1
    • Fix Version/s: 2.15.2
    • Component/s: camel-hdfs
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      During shutdown of Karaf with camel-hdfs2 installed, I'm getting:

      Exception in thread "Thread-56" java.lang.NoClassDefFoundError: org/apache/hadoop/util/ShutdownHookManager$2
      	at org.apache.hadoop.util.ShutdownHookManager.getShutdownHooksInOrder(ShutdownHookManager.java:124)
      	at org.apache.hadoop.util.ShutdownHookManager$1.run(ShutdownHookManager.java:52)
      Caused by: java.lang.ClassNotFoundException: Unable to load class 'org.apache.hadoop.util.ShutdownHookManager$2' because the bundle wiring for org.apache.servicemix.bundles.hadoop-client is no longer valid.
      	at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1521)
      	at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:77)
      	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1993)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
      	... 2 more
      

        Attachments

          Activity

            People

            • Assignee:
              gzres Grzegorz Grzybek
              Reporter:
              gzres Grzegorz Grzybek
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: