Hello,
I have the hadoop-core and hadoop-client bundles loading into my
project. In the console I can see that they are exporting the package
that I need
Symbolic Name
org.apache.servicemix.bundles.hadoop-client
Version
2.4.1.1
Bundle Location
mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.hadoop-client/2.4.1_1
Last Modification
Wed Mar 25 14:03:16 EDT 2015
Bundle Documentation
http://www.apache.org/ [1]
Vendor
The Apache Software Foundation
Description
This OSGi bundle wraps 2.4.1 jar files.
Start Level
80
Exported Packages
org.apache.hadoop,version=2.4.1
org.apache.hadoop.classification,version=2.4.1
org.apache.hadoop.classification.tools,version=2.4.1
org.apache.hadoop.conf,version=2.4.1
org.apache.hadoop.filecache,version=2.4.1
org.apache.hadoop.fs,version=2.4.1
org.apache.hadoop.fs.ftp,version=2.4.1
org.apache.hadoop.fs.local,version=2.4.1
org.apache.hadoop.fs.permission,version=2.4.1
org.apache.hadoop.fs.s3,version=2.4.1
org.apache.hadoop.fs.s3native,version=2.4.1
org.apache.hadoop.fs.shell,version=2.4.1
org.apache.hadoop.fs.viewfs,version=2.4.1
org.apache.hadoop.ha,version=2.4.1
org.apache.hadoop.ha.proto,version=2.4.1
org.apache.hadoop.ha.protocolPB,version=2.4.1
org.apache.hadoop.hdfs,version=2.4.1
If I extract the client jar I can see the class I am trying to create
but when I call code that uses the class I get this exception
java.lang.ClassNotFoundException: Class
org.apache.hadoop.hdfs.DistributedFileSystem not found
Could this be because I am missing a dependency somewhere down the line
that hadoop-client has marked as optional
Thanks for any help,
David Daniel
Links:
------
[1] http://www.apache.org/