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

    • 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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment