This is an automated email from the ASF dual-hosted git repository. bli pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push: new d6ff17d [FLINK-13937][docs] Fix the error of the hive connector dependency version d6ff17d is described below commit d6ff17d908932d867a6c0a02ac317a4f59e855b5 Author: yangjf2019 <highfei2...@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 ddddb80..e6e1f80 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: "https://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>