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

Cassandra connector does not declare all dependencies

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.2.0
    • Fix Version/s: 1.3.0, 1.2.1
    • Component/s: Cassandra Connector
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: