You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Luca Burgazzoli (JIRA)" <ji...@apache.org> on 2016/06/01 07:23:59 UTC

[jira] [Resolved] (CAMEL-10005) HDFS2 - ClassNotFoundException - org.apache.htrace.SamplerBuilder

     [ https://issues.apache.org/jira/browse/CAMEL-10005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luca Burgazzoli resolved CAMEL-10005.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.18.0
                   2.17.2

> HDFS2 - ClassNotFoundException - org.apache.htrace.SamplerBuilder
> -----------------------------------------------------------------
>
>                 Key: CAMEL-10005
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10005
>             Project: Camel
>          Issue Type: Bug
>            Reporter: Luca Burgazzoli
>            Assignee: Luca Burgazzoli
>             Fix For: 2.17.2, 2.18.0
>
>
> When running in Karaf, the following exception may be thrown:
> {code}
> 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
> {code}
> this is because camel-hdfs2 features lacks org.apache.htrace/htrace-core/3.1.0-incubating



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)