Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
bundles-2015.07
-
None
Description
When we try to install both camel-hbase and camel-hdfs2 features in Karaf (2), we have problems with resolution:
ERROR: Bundle org.apache.camel.camel-hbase [303] Error starting mvn:org.apache.camel/camel-hbase/2.15.1 (org.osgi.framework.BundleException: Uses constraint violation. Unable to resolve bundle revision org.apache.camel.camel-hbase [303.0] because it is exposed to package 'org.apache.hadoop.conf' from bundle revisions org.apache.servicemix.bundles.hadoop-core [301.0] and org.apache.servicemix.bundles.hadoop-client [278.0] via two dependency chains. Chain 1: org.apache.camel.camel-hbase [303.0] import: (&(osgi.wiring.package=org.apache.hadoop.conf)(version>=1.0.0)(!(version>=2.0.0))) | export: osgi.wiring.package=org.apache.hadoop.conf org.apache.servicemix.bundles.hadoop-core [301.0] Chain 2: org.apache.camel.camel-hbase [303.0] import: (&(osgi.wiring.package=org.apache.hadoop.hbase)(version>=0.9.0)(!(version>=1.0.0))) | export: osgi.wiring.package=org.apache.hadoop.hbase; uses:=org.apache.hadoop.conf org.apache.servicemix.bundles.hbase [300.0] import: (osgi.wiring.package=org.apache.hadoop.conf) | export: osgi.wiring.package=org.apache.hadoop.conf org.apache.servicemix.bundles.hadoop-client [278.0])
SMX bundle for hbase should import org.apache.hadoop* packages with correct version range (for hadoop 1 and 2)