Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-15893

Camel K Catalog contains camel-quarkus-spark reference and cannot deploy integration with Spark

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • None
    • camel-K-M3
    • Camel-K
    • None
    • False
    • False
    • % %
    • Undefined
    • Hide

      1. kamel run SparkIntegration.java
      2. Observe logs in Camel K Operator

      Show
      1. kamel run SparkIntegration.java 2. Observe logs in Camel K Operator

    Description

      After validating CVE issue regarding jackson-databind and camel-spark, I investigate Camel Catalog. I found out that camel-quarkus-spark is still in Camel Catalog, but it's not in Camel Quarkus BOM (as it's located in another BOM as described [2]). When you tried to deploy a Simple Integration, the Integration cannot be compiled because of missing <version>.

      Other than that, I compared the camel-catalog artifactId of components against the Camel Quarkus BOM and there is only one missing camel-quarkus-* component-> camel-quarkus-spark. We should be good.

      [1] Camel Quarkus BOM + Camel K Runtime BOMs vs. Camel Catalog Diff
      [2] Camel Quarkus Spark Extension Doc

      ...
      [ERROR] [ERROR] Some problems were encountered while processing the POMs:
      [ERROR] 'dependencies.dependency.version' for org.apache.camel.quarkus:camel-quarkus-spark:jar is missing. @ line 35, column 17
       @
      [ERROR] The build could not read 1 project -> [Help 1]
      [ERROR]
      [ERROR]   The project org.apache.camel.k.integration:camel-k-integration:1.3.0 (/tmp/builder-255783423/maven/pom.xml) has 1 error
      [ERROR]     'dependencies.dependency.version' for org.apache.camel.quarkus:camel-quarkus-spark:jar is missing. @ line 35, column 17
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
      {"level":"info","ts":1614850674.794797,"logger":"camel-k.builder","msg":"step failed with error: failure while building project: exit status 1","step":"github.com/apache/camel-k/pkg/builder/runtime/BuildQuarkusRunner","phase":20,"name":"kit-c10akmcp60k42dh75m8g","task":"builder"}
      {"level":"info","ts":1614850674.794888,"logger":"camel-k.builder","msg":"dependencies: [camel-quarkus:log camel-quarkus:spark mvn:org.apache.camel.k/camel-k-loader-java mvn:org.apache.camel.k/camel-k-runtime]"}
      ...
      

      Attachments

        Activity

          People

            nicolaferraro Nicola Ferraro (Inactive)
            vkasala@redhat.com Viliam Kasala
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: