Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-15169

camel-hdfs: does not work (on Camel Kafka Connector) due to dependencies conflicts

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.3.0
    • 3.4.0
    • camel-hdfs
    • None
    • Unknown

    Description

      This is a problem that was originally referenced on the Camel Kafka Connector issue #263 on Github and describes a problem trying to load the HDFS connector on the Kafka Connect runtime.

       ---

      It seems that the HDFS Connector cannot be loaded due to conflicts between the dependencies used by the component and the ones available on the connect runtime.

      Without manipulating the classpath, loading the dependencies fail because a dependency carried by either one of them does not seem to contain the getProperties on the Application class (which comes from javax.ws.rs:javax.ws.rs-api). Manipulating the classpath to include this library and/or exclude specific dependencies cause the connector to fail to load due to other classpath related issues (ie.: ClassNotFoundException).

      According to the discussion on the ticket, it may be more suitable to perform the fix on the Camel HDFS component. Therefore, raising this issue.

      Attachments

        Issue Links

          Activity

            People

              acosentino Andrea Cosentino
              orpiske Otavio Rodolfo Piske
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: