Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-3657 problem with installing / uninstalling features in fuse 6.2.1
  3. ENTESB-3735

camel-hbase doesn't work after fuse restart if camel-hdfs2 is also installed

    XMLWordPrintable

Details

    • Sub-task
    • Resolution: Done
    • Major
    • jboss-fuse-6.2.1
    • jboss-fuse-6.2.1
    • Camel, Karaf
    • None
    • % %

    Description

      features camel-hdfs2 and camel-hbase conflicts on fuse restart

      camel-hbase

      • mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.hbase/0.94.6_1
      • mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.hadoop-core/1.2.1_1
      • mvn:org.apache.camel/camel-hbase/2.15.1.redhat-621013

      camel-hdfs2

      • mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.hadoop-client/2.3.0_2

      reproducer
      1. start fuse $FUSE_HOME/bin/fuse
      2. install camel-hdfs2 features:install camel-hdfs2
      3. install camel-hbase features:install camel-hbase (so far so good)
      4. stop fuse CTRL+D
      5. start fuse $FUSE_HOME/bin/fuse
      6. watch wiring chain error during fuse startup - it's not in log file, but in shell, where bin/fuse was executed

      ERROR: Bundle org.apache.camel.camel-hbase [303] Error starting mvn:org.apache.camel/camel-hbase/2.15.1.redhat-621013 (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])
      
      JBossFuse:karaf@root> osgi:list -t 0 -l | grep "(278|300|301|303)"
      [ 278] [Active     ] [            ] [       ] [   50] mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.hadoop-client/2.3.0_2
      [ 300] [Active     ] [            ] [       ] [   50] mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.hbase/0.94.6_1
      [ 301] [Active     ] [            ] [       ] [   50] mvn:org.apache.servicemix.bundles/org.apache.servicemix.bundles.hadoop-core/1.2.1_1
      [ 303] [Installed  ] [            ] [       ] [   50] mvn:org.apache.camel/camel-hbase/2.15.1.redhat-621013
      

      Attachments

        Issue Links

          Activity

            People

              ggrzybek Grzegorz Grzybek
              jludvice Josef Ludvicek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: