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

Flink-connector-hive can't build with maven 3.8

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 1.16.0, 1.17.0, 1.15.3
    • None
    • Connectors / Hive
    • install maven 3.8.1+

      git clone flink repo

      run mvn clean pcakge

    • Patch

    Description

      Flink connector hive pull in hive-exec  which depends on org.pentaho:pentaho-aggdesigner-algorithm in blocked jboss mirror.

      This is cve related issue which blockeds upgrade to maven 3.8.1+

      https://maven.apache.org/docs/3.8.1/release-notes.html#cve-2021-26291

       

      [ERROR] Failed to execute goal on project flink-connector-hive_2.12: Could not resolve dependencies for project org.apache.flink:flink-connector-hive_2.12:jar:1.17-SNAPSHOT: Failed to collect dependencies at org.apache.hive:hive-exec:jar:2.3.9 -> org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde: Failed to read artifact descriptor for org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.5-jhyde: Could not transfer artifact org.pentaho:pentaho-aggdesigner-algorithm:pom:5.1.5-jhyde from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [repository.jboss.org (http://repository.jboss.org/nexus/content/groups/public/, default, disabled), conjars (http://conjars.org/repo, default, releases+snapshots), apache.snapshots (http://repository.apache.org/snapshots, default, snapshots)] -> [Help 1]

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              foxss Chen Qin
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: