Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-6084

Cassandra connector does not declare all dependencies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.2.0
    • 1.2.1, 1.3.0
    • Connectors / Cassandra
    • None

    Description

      This has been reported by a user: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Flink-1-2-and-Cassandra-Connector-td11546.html

      The cassandra client defines metrics-core as a dependency, but the shading is dropping the dependency when building the dependency reduced pom.
      To resolve the issue, we need to add the following line into the shading config of the cassandra module:

      <promoteTransitiveDependencies>true</promoteTransitiveDependencies>

      This makes the metrics dependency appear again in the dep red pom.

      Attachments

        Issue Links

          Activity

            People

              rmetzger Robert Metzger
              rmetzger Robert Metzger
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: