You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by di...@apache.org on 2022/01/07 10:07:00 UTC

[flink-web] 01/02: Add flink-ml 2.0.0

This is an automated email from the ASF dual-hosted git repository.

dianfu pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/flink-web.git

commit 9e4fcc932c2a4f5d658ea91e0d6760f99dc0424d
Author: Yun Gao <ga...@gmail.com>
AuthorDate: Tue Dec 28 10:03:53 2021 +0800

    Add flink-ml 2.0.0
---
 _config.yml     |  22 +++++++++++++
 downloads.md    |  56 +++++++++++++++++++++++++++++++
 downloads.zh.md | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 178 insertions(+)

diff --git a/_config.yml b/_config.yml
index 384b301..96224b6 100644
--- a/_config.yml
+++ b/_config.yml
@@ -23,6 +23,12 @@ FLINK_STATEFUN_STABLE_SHORT: "3.1"
 FLINK_STATEFUN_GITHUB_URL: https://github.com/apache/flink-statefun
 FLINK_STATEFUN_GITHUB_REPO_NAME: flink-statefun
 
+FLINK_ML_VERSION_STABLE: 2.0.0
+FLINK_ML_STABLE_SHORT: "2.0"
+
+FLINK_ML_GITHUB_URL: https://github.com/apache/flink-ml
+FLINK_ML_GITHUB_REPO_NAME: flink-ml
+
 # Example for scala dependent component:
 #  -
 #    name: "Prometheus MetricReporter"
@@ -151,6 +157,17 @@ flink_statefun_releases:
           asc_url: "https://downloads.apache.org/flink/flink-statefun-3.1.1/flink-statefun-3.1.1-src.tgz.asc"
           sha512_url: "https://downloads.apache.org/flink/flink-statefun-3.1.1/flink-statefun-3.1.1-src.tgz.sha512"
 
+flink_ml_releases:
+  -
+      version_short: "2.0"
+      source_release:
+          name: "Apache Flink ML 2.0.0"
+          id: "200-ml-download-source"
+          flink_version: "1.14.0"
+          url: "https://www.apache.org/dyn/closer.lua/flink/flink-ml-2.0.0/flink-ml-2.0.0-src.tgz"
+          asc_url: "https://downloads.apache.org/flink/flink-ml-2.0.0/flink-ml-2.0.0-src.tgz.asc"
+          sha512_url: "https://downloads.apache.org/flink/flink-ml-2.0.0/flink-ml-2.0.0-src.tgz.sha512"
+
 component_releases:
   -
       name: "Apache Flink-shaded 14.0 Source Release"
@@ -562,6 +579,11 @@ release_archive:
         version: 1.0
         release_date: 2017-07-27
 
+    flink_ml:
+      - version_short: 2.0
+        version_long: 2.0.0
+        release_date: 2021-01-07
+
 # Version numbers used in the text for stable and snapshot versions,
 # e.g. "Documentation for {{ site.stable }".
 stable: "1.14"
diff --git a/downloads.md b/downloads.md
index 587ade3..956830c 100644
--- a/downloads.md
+++ b/downloads.md
@@ -136,6 +136,23 @@ This version is compatible with Apache Flink version {{ flink_statefun_release.s
 
 {% endfor %}
 
+Apache Flink® ML {{ site.FLINK_ML_VERSION_STABLE }} is the latest stable release for machine learning.
+
+{% for flink_ml_release in site.flink_ml_releases %}
+
+## {{ flink_ml_release.source_release.name }}
+
+<p>
+<a href="{{ flink_ml_release.source_release.url }}" class="ga-track" id="{{ flink_ml_release.source_release.id }}">{{ flink_ml_release.source_release.name }} Source Release</a>
+(<a href="{{ flink_ml_release.source_release.asc_url }}">asc</a>, <a href="{{ flink_ml_release.source_release.sha512_url }}">sha512</a>)
+</p>
+
+This version is compatible with Apache Flink version {{ flink_ml_release.source_release.flink_version }}.
+
+---
+
+{% endfor %}
+
 ## Additional Components
 
 These are components that the Flink project develops which are not part of the
@@ -200,6 +217,34 @@ You can add the following dependencies to your `pom.xml` to include Apache Flink
 The `statefun-sdk` dependency is the only one you will need to start developing applications.
 The `statefun-flink-harness` dependency includes a local execution environment that allows you to locally test your application in an IDE.
 
+### Apache Flink ML
+
+You can add the following dependencies to your `pom.xml` to include Apache Flink ML in your project.
+
+```xml
+<dependency>
+  <groupId>org.apache.flink</groupId>
+  <artifactId>flink-ml-core_2.12</artifactId>
+  <version>{{ site.FLINK_ML_VERSION_STABLE }}</version>
+</dependency>
+<dependency>
+  <groupId>org.apache.flink</groupId>
+  <artifactId>flink-ml-iteration_2.12</artifactId>
+  <version>{{ site.FLINK_ML_VERSION_STABLE }}</version>
+</dependency>
+<dependency>
+  <groupId>org.apache.flink</groupId>
+  <artifactId>flink-ml-lib_2.12</artifactId>
+  <version>{{ site.FLINK_ML_VERSION_STABLE }}</version>
+</dependency>
+```
+
+Advanced users could only import a minimal set of Flink ML dependencies for their target use-cases:
+
+- Use artifact `flink-ml-core_2.12` in order to develop custom ML algorithms.
+- Use artifacts `flink-ml-core_2.12` and `flink-ml-iteration_2.12` in order to develop custom ML algorithms which require iteration.
+- Use artifact `flink-ml-lib_2.12` in order to use the off-the-shelf ML algorithms from Flink ML.
+
 ## Update Policy for old releases
 
 As of March 2017, the Flink community [decided](http://apache-flink-mailing-list-archive.1008284.n3.nabble.com/DISCUSS-Time-based-releases-in-Flink-tp15386p15394.html) to support the current and previous minor release with bugfixes. If 1.2.x is the current release, 1.1.y is the previous minor supported release. Both versions will receive bugfixes for critical issues.
@@ -252,3 +297,14 @@ Flink Stateful Functions {{ flink_statefun_release.version_long }} - {{ flink_st
 <li>Flink-shaded {{ shaded_release.version }} - {{ shaded_release.release_date }} (<a href="https://archive.apache.org/dist/flink/flink-shaded-{{ shaded_release.version }}/flink-shaded-{{ shaded_release.version }}-src.tgz">Source</a>)</li>
 {% endfor %}
 </ul>
+
+### Flink-ML
+{% assign flink_ml_releases = site.release_archive.flink_ml %}
+<ul>
+{% for flink_ml_release in flink_ml_releases %}
+<li>
+Flink ML {{ flink_ml_release.version_long }} - {{ flink_ml_release.release_date }}
+(<a href="https://archive.apache.org/dist/flink/flink-ml-{{ flink_ml_release.version_long }}/flink-ml-{{ flink_ml_release.version_long }}-src.tgz">Source</a>)
+</li>
+{% endfor %}
+</ul>
\ No newline at end of file
diff --git a/downloads.zh.md b/downloads.zh.md
index 22e81c5..c83de2e 100644
--- a/downloads.zh.md
+++ b/downloads.zh.md
@@ -134,6 +134,42 @@ Apache Flink® {{ site.FLINK_VERSION_STABLE }} 是我们最新的稳定版本。
 如果你计划从以前的版本升级 Flink,请查看 [Flink {{ flink_release.version_short }} 的发布说明]({{ site.DOCS_BASE_URL }}
 flink-docs-release-{{ flink_release.version_short }}/release-notes/flink-{{ flink_release.version_short }}.html)。
 
+---
+
+{% endfor %}
+
+Apache Flink® Stateful Functions {{ site.FLINK_STATEFUN_VERSION_STABLE }} 是 [Stateful Functions](https://flink.apache.org/stateful-functions.html) 组件的最新稳定版本.
+
+{% for flink_statefun_release in site.flink_statefun_releases %}
+
+## {{ flink_statefun_release.source_release.name }}
+
+<p>
+<a href="{{ flink_statefun_release.source_release.url }}" class="ga-track" id="{{ flink_statefun_release.source_release.id }}">{{ flink_statefun_release.source_release.name }} Source Release</a>
+(<a href="{{ flink_statefun_release.source_release.asc_url }}">asc</a>, <a href="{{ flink_statefun_release.source_release.sha512_url }}">sha512</a>)
+</p>
+
+这个版本和 Apache Flink 版本 {{ flink_statefun_release.source_release.flink_version }} 兼容。
+
+---
+
+{% endfor %}
+
+Apache Flink® ML {{ site.FLINK_ML_VERSION_STABLE }} 是机器学习库的最新稳定版本。
+
+{% for flink_ml_release in site.flink_ml_releases %}
+
+## {{ flink_ml_release.source_release.name }}
+
+<p>
+<a href="{{ flink_ml_release.source_release.url }}" class="ga-track" id="{{ flink_ml_release.source_release.id }}">{{ flink_ml_release.source_release.name }} Source Release</a>
+(<a href="{{ flink_ml_release.source_release.asc_url }}">asc</a>, <a href="{{ flink_ml_release.source_release.sha512_url }}">sha512</a>)
+</p>
+
+这个版本和 Apache Flink 版本 {{ flink_ml_release.source_release.flink_version }} 兼容。
+
+---
+
 {% endfor %}
 
 ## 额外组件
@@ -155,6 +191,8 @@ flink-docs-release-{{ flink_release.version_short }}/release-notes/flink-{{ flin
 
 ## Maven 依赖
 
+### Apache Flink
+
 你只要将以下依赖项添加到 `pom.xml` 中,就能在项目中引入 Apache Flink 。这些依赖项包含了本地执行环境,因此支持本地测试。
 
 - **Scala API**: 为了使用 Scala API,将 `flink-java` 的 artifact id 替换为 `flink-scala_2.11`,同时将 `flink-streaming-java_2.11` 替换为 `flink-streaming-scala_2.11`。
@@ -177,6 +215,57 @@ flink-docs-release-{{ flink_release.version_short }}/release-notes/flink-{{ flin
 </dependency>
 ```
 
+### Apache Flink Stateful Functions
+
+用户可以在 `pom.xml` 中包含以下依赖来在项目中使用 Apache Flink Stateful Function。
+
+```xml
+<dependency>
+  <groupId>org.apache.flink</groupId>
+  <artifactId>statefun-sdk</artifactId>
+  <version>{{ site.FLINK_STATEFUN_VERSION_STABLE }}</version>
+</dependency>
+<dependency>
+  <groupId>org.apache.flink</groupId>
+  <artifactId>statefun-flink-harness</artifactId>
+  <version>{{ site.FLINK_STATEFUN_VERSION_STABLE }}</version>
+</dependency>
+```
+
+The `statefun-sdk` dependency is the only one you will need to start developing applications.
+The `statefun-flink-harness` dependency includes a local execution environment that allows you to locally test your application in an IDE.
+
+本地开发程序仅需要依赖 `statefun-sdk`。`statefun-flink-harness` 提供了在 IDE 中测试用户开发的程序的本地执行环境。
+
+
+### Apache Flink ML
+
+用户需要在 `pom.xml` 中添加如下依赖来使在项目中使用 Apache Flink ML。
+
+```xml
+<dependency>
+  <groupId>org.apache.flink</groupId>
+  <artifactId>flink-ml-core_2.12</artifactId>
+  <version>{{ site.FLINK_ML_VERSION_STABLE }}</version>
+</dependency>
+<dependency>
+  <groupId>org.apache.flink</groupId>
+  <artifactId>flink-ml-iteration_2.12</artifactId>
+  <version>{{ site.FLINK_ML_VERSION_STABLE }}</version>
+</dependency>
+<dependency>
+  <groupId>org.apache.flink</groupId>
+  <artifactId>flink-ml-lib_2.12</artifactId>
+  <version>{{ site.FLINK_ML_VERSION_STABLE }}</version>
+</dependency>
+```
+
+高级用户可以根据使用场景来只包含最小集合的依赖:
+
+- 依赖组件 `flink-ml-core_2.12` 来开发不使用迭代的自定义机器学习算法。
+- 依赖组件 `flink-ml-core_2.12` 与 `flink-ml-iteration_2.12` 来开发使用迭代的自定义机器学习算法。
+- 依赖组件 `flink-ml-lib_2.12` 来使用 Flink ML 提供的机器学习算法。
+
 ## 旧版本的更新策略
 截至2017年3月,Flink 社区[决定](http://apache-flink-mailing-list-archive.1008284.n3.nabble.com/DISCUSS-Time-based-releases-in-Flink-tp15386p15394.html)使用 bugfix 来支持当前和之前的次要版本。如果 1.2.x 是当前的正式版本,则 1.1.y 是之前的次要支持版本。这两个版本都将收到关键问题的  bugfix。
 
@@ -213,3 +302,14 @@ Flink {{ flink_release.version_long }} - {{ flink_release.release_date }}
 <li>Flink-shaded {{ shaded_release.version }} - {{ shaded_release.release_date }} (<a href="https://archive.apache.org/dist/flink/flink-shaded-{{ shaded_release.version }}/flink-shaded-{{ shaded_release.version }}-src.tgz">Source</a>)</li>
 {% endfor %}
 </ul>
+
+### Flink-ML
+{% assign flink_ml_releases = site.release_archive.flink_ml %}
+<ul>
+{% for flink_ml_release in flink_ml_releases %}
+<li>
+Flink ML {{ flink_ml_release.version_long }} - {{ flink_ml_release.release_date }}
+(<a href="https://archive.apache.org/dist/flink/flink-ml-{{ flink_ml_release.version_long }}/flink-ml-{{ flink_ml_release.version_long }}-src.tgz">Source</a>)
+</li>
+{% endfor %}
+</ul>