You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicemix.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2015/08/27 07:15:45 UTC
[jira] [Updated] (SM-2666) hbase bundles should import
org.apache.hadoop* package with correct version range
[ https://issues.apache.org/jira/browse/SM-2666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré updated SM-2666:
-------------------------------------
Fix Version/s: bundles-2015.08
> hbase bundles should import org.apache.hadoop* package with correct version range
> ---------------------------------------------------------------------------------
>
> Key: SM-2666
> URL: https://issues.apache.org/jira/browse/SM-2666
> Project: ServiceMix
> Issue Type: Bug
> Components: bundles
> Affects Versions: bundles-2015.07
> Reporter: Grzegorz Grzybek
> Assignee: Jean-Baptiste Onofré
> Fix For: bundles-2015.08
>
>
> When we try to install both camel-hbase and camel-hdfs2 features in Karaf (2), we have problems with resolution:
> {noformat}
> 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])
> {noformat}
> SMX bundle for hbase should import {{org.apache.hadoop*}} packages with correct version range (for hadoop 1 and 2)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)