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

Cassandra connector does not declare all dependencies

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

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

          Activity

            People

            • Assignee:
              rmetzger Robert Metzger
              Reporter:
              rmetzger Robert Metzger

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment