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

Incorrect Maven dependencies for Flink-Hive connector

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.9.0
    • Fix Version/s: None
    • Component/s: Documentation
    • Labels:
      None

      Description

      SeeĀ https://ci.apache.org/projects/flink/flink-docs-release-1.9/dev/table/hive/

      The Maven artifact IDs in the dependencies snippet are somewhat wrong, thus cannot be resolved. According to my finding in the repository, they should be corrected as follows.

      <dependency>
          <groupId>org.apache.flink</groupId>
          <artifactId>flink-connector-hive_2.11</artifactId>
          <version>1.9.0</version>
          <scope>provided</scope>
      </dependency>
      
      <!-- Hadoop Dependencies -->
      
      <dependency>
          <groupId>org.apache.flink</groupId>
          <artifactId>flink-hadoop-compatibility_2.11</artifactId>
          <version>1.9.0</version>
          <scope>provided</scope>
      </dependency>
      
      <!-- Hive 1.2.1 is built with Hadoop 2.6.0. We pick 2.6.5 which flink-shaded-hadoop is pre-built with, but users can pick their own hadoop version, as long as it's compatible with Hadoop 2.6.0 -->
      
      <dependency>
          <groupId>org.apache.flink</groupId>
          <artifactId>flink-shaded-hadoop-2-uber</artifactId>
          <version>2.6.5-7.0</version>
          <scope>provided</scope>
      <dependency>

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              lmagics Qi Kang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: