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

Fix hardcode Scala version dependency in hive connector

    XMLWordPrintableJSON

Details

    Description

      FLINK-13688 introduced a flink-test-utils dependency in flink-connector-hive. However, the Scala version of the artifactId is hardcoded, this result in recent CRON jobs failed.

      Here is an instance: https://api.travis-ci.org/v3/job/573092374/log.txt

      11:46:09.078 [INFO] --- maven-enforcer-plugin:3.0.0-M1:enforce (enforce-versions) @ flink-connector-hive_2.12 ---
      11:46:09.134 [WARNING] Rule 0: org.apache.maven.plugins.enforcer.BannedDependencies failed with message:
      Found Banned Dependency: com.typesafe.akka:akka-slf4j_2.11:jar:2.5.21
      Found Banned Dependency: com.typesafe.akka:akka-actor_2.11:jar:2.5.21
      Found Banned Dependency: com.typesafe:ssl-config-core_2.11:jar:0.3.7
      Found Banned Dependency: org.scala-lang.modules:scala-java8-compat_2.11:jar:0.7.0
      Found Banned Dependency: com.typesafe.akka:akka-protobuf_2.11:jar:2.5.21
      Found Banned Dependency: org.apache.flink:flink-clients_2.11:jar:1.10-SNAPSHOT
      Found Banned Dependency: org.apache.flink:flink-streaming-java_2.11:jar:1.10-SNAPSHOT
      Found Banned Dependency: com.typesafe.akka:akka-stream_2.11:jar:2.5.21
      Found Banned Dependency: com.github.scopt:scopt_2.11:jar:3.5.0
      Found Banned Dependency: org.apache.flink:flink-test-utils_2.11:jar:1.10-SNAPSHOT
      Found Banned Dependency: org.apache.flink:flink-runtime_2.11:jar:1.10-SNAPSHOT
      Found Banned Dependency: org.apache.flink:flink-runtime_2.11:test-jar:tests:1.10-SNAPSHOT
      Found Banned Dependency: org.scala-lang.modules:scala-parser-combinators_2.11:jar:1.1.1
      Found Banned Dependency: com.twitter:chill_2.11:jar:0.7.6
      Found Banned Dependency: org.clapper:grizzled-slf4j_2.11:jar:1.3.2
      Found Banned Dependency: org.apache.flink:flink-optimizer_2.11:jar:1.10-SNAPSHOT
      Use 'mvn dependency:tree' to locate the source of the banned dependencies.
      

      Attachments

        Issue Links

          Activity

            People

              jark Jark Wu
              jark Jark Wu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m