Uploaded image for project: 'ServiceMix'
  1. ServiceMix
  2. SM-2627

hbase bundles are flawed

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • bundles-2015.07
    • bundles
    • None

    Description

      hbase uses commons-io 2.4 as dependency

      [INFO] +- org.apache.hbase:hbase-client:jar:0.98.5-hadoop2:compile
      [INFO] |  +- org.apache.hbase:hbase-common:jar:0.98.5-hadoop2:compile
      [INFO] |  +- org.apache.hbase:hbase-protocol:jar:0.98.5-hadoop2:compile
      [INFO] |  +- commons-io:commons-io:jar:2.4:compile
      [INFO] |  +- commons-logging:commons-logging:jar:1.1.3:compile
      [INFO] |  +- com.google.protobuf:protobuf-java:jar:2.5.0:compile
      [INFO] |  +- io.netty:netty:jar:3.6.6.Final:compile
      

      But the SMX wrapped bundle pull in the older 1.x version

      ERROR: Bundle org.apache.servicemix.bundles.hbase [146] Error starting mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.hbase/0.98.5-hadoop2_2 (org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.servicemix.bundles.hbase [146]: Unable to resolve 146.0: missing requirement [146.0] osgi.wiring.package; (&(osgi.wiring.package=org.codehaus.jackson.jaxrs)(version>=1.4.0)(!(version>=2.0.0))))
      org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.servicemix.bundles.hbase [146]: Unable to resolve 146.0: missing requirement [146.0] osgi.wiring.package; (&(osgi.wiring.package=org.codehaus.jackson.jaxrs)(version>=1.4.0)(!(version>=2.0.0)))
      	at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:4002)
      	at org.apache.felix.framework.Felix.startBundle(Felix.java:2045)
      	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1299)
      	at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:304)
      	at java.lang.Thread.run(Thread.java:744)
      

      This is the problem with this bundle
      http://repo2.maven.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.hbase/0.98.5-hadoop2_2/

      Attachments

        Activity

          People

            jbonofre Jean-Baptiste Onofré
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: