You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by bl...@apache.org on 2019/09/05 21:16:55 UTC
[flink] branch release-1.9 updated: [FLINK-13937][docs] Fix the
error of the hive connector dependency version
This is an automated email from the ASF dual-hosted git repository.
bli pushed a commit to branch release-1.9
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.9 by this push:
new 1e88d42 [FLINK-13937][docs] Fix the error of the hive connector dependency version
1e88d42 is described below
commit 1e88d4261c891d7d201621046e9c712b4fda400a
Author: yangjf2019 <hi...@outlook.com>
AuthorDate: Mon Sep 2 14:19:04 2019 +0800
[FLINK-13937][docs] Fix the error of the hive connector dependency version
Fix the error of the hive connector dependency version in doc.
This closes #9591.
---
docs/_config.yml | 4 ++++
docs/dev/table/hive/index.md | 8 ++++----
docs/dev/table/hive/index.zh.md | 8 ++++----
3 files changed, 12 insertions(+), 8 deletions(-)
diff --git a/docs/_config.yml b/docs/_config.yml
index 8fd855b..04a43dd 100644
--- a/docs/_config.yml
+++ b/docs/_config.yml
@@ -39,6 +39,10 @@ scala_version: "2.11"
# This suffix is appended to the Scala-dependent Maven artifact names
scala_version_suffix: "_2.11"
+# Plain flink-shaded version is needed for e.g. the hive connector.
+# Please update the shaded_version once new flink-shaded is released.
+shaded_version: "8.0"
+
# Some commonly linked pages (this was more important to have as a variable
# during incubator; by now it should also be fine to hardcode these.)
website_url: "http://flink.apache.org"
diff --git a/docs/dev/table/hive/index.md b/docs/dev/table/hive/index.md
index 0d5ab31..62709a1 100644
--- a/docs/dev/table/hive/index.md
+++ b/docs/dev/table/hive/index.md
@@ -69,7 +69,7 @@ To integrate with Hive, users need the following dependencies in their project.
<dependency>
<groupId>org.apache.flink</groupId>
- <artifactId>flink-hadoop-compatibility_{{site.version}}</artifactId>
+ <artifactId>flink-hadoop-compatibility{{ site.scala_version_suffix }}</artifactId>
<version>{{site.version}}</version>
<scope>provided</scope>
</dependency>
@@ -79,7 +79,7 @@ To integrate with Hive, users need the following dependencies in their project.
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-shaded-hadoop-2-uber</artifactId>
- <version>2.7.5-{{site.version}}</version>
+ <version>2.7.5-{{ site.shaded_version }}</version>
<scope>provided</scope>
</dependency>
@@ -105,7 +105,7 @@ To integrate with Hive, users need the following dependencies in their project.
<dependency>
<groupId>org.apache.flink</groupId>
- <artifactId>flink-hadoop-compatibility_{{site.version}}</artifactId>
+ <artifactId>flink-hadoop-compatibility{{ site.scala_version_suffix }}</artifactId>
<version>{{site.version}}</version>
<scope>provided</scope>
</dependency>
@@ -115,7 +115,7 @@ To integrate with Hive, users need the following dependencies in their project.
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-shaded-hadoop-2-uber</artifactId>
- <version>2.6.5-{{site.version}}</version>
+ <version>2.6.5-{{ site.shaded_version }}</version>
<scope>provided</scope>
</dependency>
diff --git a/docs/dev/table/hive/index.zh.md b/docs/dev/table/hive/index.zh.md
index 6b2f7e4..14303c0 100644
--- a/docs/dev/table/hive/index.zh.md
+++ b/docs/dev/table/hive/index.zh.md
@@ -69,7 +69,7 @@ To integrate with Hive, users need the following dependencies in their project.
<dependency>
<groupId>org.apache.flink</groupId>
- <artifactId>flink-hadoop-compatibility_{{site.version}}</artifactId>
+ <artifactId>flink-hadoop-compatibility{{ site.scala_version_suffix }}</artifactId>
<version>{{site.version}}</version>
<scope>provided</scope>
</dependency>
@@ -79,7 +79,7 @@ To integrate with Hive, users need the following dependencies in their project.
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-shaded-hadoop-2-uber</artifactId>
- <version>2.7.5-{{site.version}}</version>
+ <version>2.7.5-{{ site.shaded_version }}</version>
<scope>provided</scope>
</dependency>
@@ -105,7 +105,7 @@ To integrate with Hive, users need the following dependencies in their project.
<dependency>
<groupId>org.apache.flink</groupId>
- <artifactId>flink-hadoop-compatibility_{{site.version}}</artifactId>
+ <artifactId>flink-hadoop-compatibility{{ site.scala_version_suffix }}</artifactId>
<version>{{site.version}}</version>
<scope>provided</scope>
</dependency>
@@ -115,7 +115,7 @@ To integrate with Hive, users need the following dependencies in their project.
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-shaded-hadoop-2-uber</artifactId>
- <version>2.6.5-{{site.version}}</version>
+ <version>2.6.5-{{ site.shaded_version }}</version>
<scope>provided</scope>
</dependency>