Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-5575

HDFS2 component - ClassNotFoundException - org.apache.htrace.SamplerBuilder

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: jboss-fuse-6.3
    • Fix Version/s: jboss-fuse-6.3
    • Component/s: Camel
    • Labels:
      None
    • Environment:

      Fuse 6.3 ER1

    • Sprint:
      Sprint 5 - towards ER2
    • Steps to Reproduce:
      Hide

      1. Start Fuse 6.3-069
      2. Add user admin:admin

      git clone -c http.sslverify=false https://gitlab.mw.lab.eng.bos.redhat.com/jbossqe-soa/jbossqe-camel-it.git
      cd jbossqe-camel-it
      mvn clean install -Pjboss-fuse -pl :hdfs2-test -am
      
      Show
      1. Start Fuse 6.3-069 2. Add user admin:admin git clone -c http.sslverify= false https: //gitlab.mw.lab.eng.bos.redhat.com/jbossqe-soa/jbossqe-camel-it.git cd jbossqe-camel-it mvn clean install -Pjboss-fuse -pl :hdfs2-test -am

      Description

      Version of hadoop-client was changed from 2.3.0 (Fuse 6.2.1 R2) to 2.7.2 (Fuse 6.3 ER1).

      Caused by: java.lang.NoClassDefFoundError: org/apache/htrace/SamplerBuilder
      	at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:635)
      	at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:619)
      	at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:149)
      	at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2653)
      	at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:92)
      	at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2687)
      	at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2669)
      	at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:371)
      	at org.apache.camel.component.hdfs2.HdfsOsgiHelper.<init>(HdfsOsgiHelper.java:47)
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[:1.8.0_91]
      	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)[:1.8.0_91]
      	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[:1.8.0_91]
      	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)[:1.8.0_91]
      	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148)[197:org.apache.servicemix.bundles.spring-beans:3.2.16.RELEASE_1]
      	... 18 more
      Caused by: java.lang.ClassNotFoundException: org.apache.htrace.SamplerBuilder not found by org.apache.servicemix.bundles.hadoop-client [312]
      	at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1556)[org.apache.felix.framework-4.4.1.jar:]
      	at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:77)[org.apache.felix.framework-4.4.1.jar:]
      	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1993)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)[:1.8.0_91]
      	... 32 more
      
      
      JBossFuse:karaf@root> find-class SamplerBuilder.class
      JBossFuse:karaf@root> 
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  lburgazzoli Luca Burgazzoli
                  Reporter:
                  mbasovni Martin Basovnik
                  Tester:
                  Martin Basovnik
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: