Skip to content

Commit

Permalink
Update docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
shaomengwang committed Apr 22, 2022
1 parent f145b02 commit 41a0011
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
22 changes: 11 additions & 11 deletions README.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Welcome everyone to join the Alink open source user group to communicate.
- PyAlink provides different Python packages for Flink versions that Alink supports:
package `pyalink` always maintains Alink Python API against the latest Flink version, which is 1.13,
while `pyalink-flink-***` support old-version Flink, which are `pyalink-flink-1.12`, `pyalink-flink-1.11`, `pyalink-flink-1.10` and `pyalink-flink-1.9` for now.
- The version of python packages always follows Alink Java version, like `1.5.3`.
- The version of python packages always follows Alink Java version, like `1.5.4`.

#### Installation steps:

Expand All @@ -50,11 +50,11 @@ Welcome everyone to join the Alink open source user group to communicate.
If `pyalink` or `pyalink-flink-***` was/were installed, please use `pip uninstall pyalink` or `pip uninstall pyalink-flink-***` to remove them.

2. If `pip install` is slow of failed, refer to [this article](https://segmentfault.com/a/1190000006111096) to change the pip source, or use the following download links:
- Flink 1.13:[Link](https://alink-release.oss-cn-beijing.aliyuncs.com/v1.5.3/pyalink-1.5.3-py3-none-any.whl) (MD5: aadb8b6d7ec0c8337447dbfaacc38f82)
- Flink 1.12:[Link](https://alink-release.oss-cn-beijing.aliyuncs.com/v1.5.3/pyalink_flink_1.12-1.5.3-py3-none-any.whl) (MD5: da9783b83024647a587b5e5638886132)
- Flink 1.11:[Link](https://alink-release.oss-cn-beijing.aliyuncs.com/v1.5.3/pyalink_flink_1.11-1.5.3-py3-none-any.whl) (MD5: c2c3e97bf21f679f378738798c882fd3)
- Flink 1.10:[Link](https://alink-release.oss-cn-beijing.aliyuncs.com/v1.5.3/pyalink_flink_1.10-1.5.3-py3-none-any.whl) (MD5: 8d8eb40344dfd9cf6d3b0ae804904f32)
- Flink 1.9: [Link](https://alink-release.oss-cn-beijing.aliyuncs.com/v1.5.3/pyalink_flink_1.9-1.5.3-py3-none-any.whl) (MD5: e2814c0ef5cd88366ccc1b239c32dc98)
- Flink 1.13:[Link](https://alink-release.oss-cn-beijing.aliyuncs.com/v1.5.4/pyalink-1.5.4-py3-none-any.whl) (MD5: a68fa2474bc52dc2181bc98787d3e2d3)
- Flink 1.12:[Link](https://alink-release.oss-cn-beijing.aliyuncs.com/v1.5.4/pyalink_flink_1.12-1.5.4-py3-none-any.whl) (MD5: ed191adfd5bbaaacf979aa373a7a61f5)
- Flink 1.11:[Link](https://alink-release.oss-cn-beijing.aliyuncs.com/v1.5.4/pyalink_flink_1.11-1.5.4-py3-none-any.whl) (MD5: 8d4fae4e23e9198ea770b718404ef7e6)
- Flink 1.10:[Link](https://alink-release.oss-cn-beijing.aliyuncs.com/v1.5.4/pyalink_flink_1.10-1.5.4-py3-none-any.whl) (MD5: c24a14496b873ea4c8048bbd83061c1f)
- Flink 1.9: [Link](https://alink-release.oss-cn-beijing.aliyuncs.com/v1.5.4/pyalink_flink_1.9-1.5.4-py3-none-any.whl) (MD5: 878bc39a15eb22e4c67eb21d8bf9a337)
3. If multiple version of Python exist, you may need to use a special version of `pip`, like `pip3`;
If Anaconda is used, the command should be run in Anaconda prompt.

Expand Down Expand Up @@ -159,7 +159,7 @@ pipeline.fit(data).transform(data).print();
<dependency>
<groupId>com.alibaba.alink</groupId>
<artifactId>alink_core_flink-1.13_2.11</artifactId>
<version>1.5.3</version>
<version>1.5.4</version>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
Expand All @@ -183,7 +183,7 @@ pipeline.fit(data).transform(data).print();
<dependency>
<groupId>com.alibaba.alink</groupId>
<artifactId>alink_core_flink-1.12_2.11</artifactId>
<version>1.5.3</version>
<version>1.5.4</version>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
Expand All @@ -207,7 +207,7 @@ pipeline.fit(data).transform(data).print();
<dependency>
<groupId>com.alibaba.alink</groupId>
<artifactId>alink_core_flink-1.11_2.11</artifactId>
<version>1.5.3</version>
<version>1.5.4</version>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
Expand All @@ -231,7 +231,7 @@ pipeline.fit(data).transform(data).print();
<dependency>
<groupId>com.alibaba.alink</groupId>
<artifactId>alink_core_flink-1.10_2.11</artifactId>
<version>1.5.3</version>
<version>1.5.4</version>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
Expand All @@ -251,7 +251,7 @@ pipeline.fit(data).transform(data).print();
<dependency>
<groupId>com.alibaba.alink</groupId>
<artifactId>alink_core_flink-1.9_2.11</artifactId>
<version>1.5.3</version>
<version>1.5.4</version>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
Expand Down
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

- PyAlink 根据 Alink 所支持的 Flink 版本提供不同的 Python 包:
其中,`pyalink` 包对应为 Alink 所支持的最新 Flink 版本,当前为 1.13,而 `pyalink-flink-***` 为旧版本的 Flink 版本,当前提供 `pyalink-flink-1.12`, `pyalink-flink-1.11`, `pyalink-flink-1.10``pyalink-flink-1.9`
- Python 包的版本号与 Alink 的版本号一致,例如`1.5.3`
- Python 包的版本号与 Alink 的版本号一致,例如`1.5.4`

####安装步骤:
1. 确保使用环境中有Python3,版本限于 3.6,3.7 和 3.8。
Expand All @@ -60,11 +60,11 @@
1. `pyalink``pyalink-flink-***` 不能同时安装,也不能与旧版本同时安装。
如果之前安装过 `pyalink` 或者 `pyalink-flink-***`,请使用`pip uninstall pyalink` 或者 `pip uninstall pyalink-flink-***` 卸载之前的版本。
2. 出现`pip`安装缓慢或不成功的情况,可以参考[这篇文章](https://segmentfault.com/a/1190000006111096)修改pip源,或者直接使用下面的链接下载 whl 包,然后使用 `pip` 安装:
- Flink 1.13:[链接](https://alink-release.oss-cn-beijing.aliyuncs.com/v1.5.3/pyalink-1.5.3-py3-none-any.whl) (MD5: aadb8b6d7ec0c8337447dbfaacc38f82)
- Flink 1.12:[链接](https://alink-release.oss-cn-beijing.aliyuncs.com/v1.5.3/pyalink_flink_1.12-1.5.3-py3-none-any.whl) (MD5: da9783b83024647a587b5e5638886132)
- Flink 1.11:[链接](https://alink-release.oss-cn-beijing.aliyuncs.com/v1.5.3/pyalink_flink_1.11-1.5.3-py3-none-any.whl) (MD5: c2c3e97bf21f679f378738798c882fd3)
- Flink 1.10:[链接](https://alink-release.oss-cn-beijing.aliyuncs.com/v1.5.3/pyalink_flink_1.10-1.5.3-py3-none-any.whl) (MD5: 8d8eb40344dfd9cf6d3b0ae804904f32)
- Flink 1.9: [链接](https://alink-release.oss-cn-beijing.aliyuncs.com/v1.5.3/pyalink_flink_1.9-1.5.3-py3-none-any.whl) (MD5: e2814c0ef5cd88366ccc1b239c32dc98)
- Flink 1.13:[链接](https://alink-release.oss-cn-beijing.aliyuncs.com/v1.5.4/pyalink-1.5.4-py3-none-any.whl) (MD5: a68fa2474bc52dc2181bc98787d3e2d3)
- Flink 1.12:[链接](https://alink-release.oss-cn-beijing.aliyuncs.com/v1.5.4/pyalink_flink_1.12-1.5.4-py3-none-any.whl) (MD5: ed191adfd5bbaaacf979aa373a7a61f5)
- Flink 1.11:[链接](https://alink-release.oss-cn-beijing.aliyuncs.com/v1.5.4/pyalink_flink_1.11-1.5.4-py3-none-any.whl) (MD5: 8d4fae4e23e9198ea770b718404ef7e6)
- Flink 1.10:[链接](https://alink-release.oss-cn-beijing.aliyuncs.com/v1.5.4/pyalink_flink_1.10-1.5.4-py3-none-any.whl) (MD5: c24a14496b873ea4c8048bbd83061c1f)
- Flink 1.9: [链接](https://alink-release.oss-cn-beijing.aliyuncs.com/v1.5.4/pyalink_flink_1.9-1.5.4-py3-none-any.whl) (MD5: 878bc39a15eb22e4c67eb21d8bf9a337)
3. 如果有多个版本的 Python,可能需要使用特定版本的 `pip`,比如 `pip3`;如果使用 Anaconda,则需要在 Anaconda 命令行中进行安装。

#### 下载安装文件系统或 Catalog 依赖 jar 包:
Expand Down Expand Up @@ -159,7 +159,7 @@ pipeline.fit(data).transform(data).print();
<dependency>
<groupId>com.alibaba.alink</groupId>
<artifactId>alink_core_flink-1.13_2.11</artifactId>
<version>1.5.3</version>
<version>1.5.4</version>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
Expand All @@ -183,7 +183,7 @@ pipeline.fit(data).transform(data).print();
<dependency>
<groupId>com.alibaba.alink</groupId>
<artifactId>alink_core_flink-1.12_2.11</artifactId>
<version>1.5.3</version>
<version>1.5.4</version>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
Expand All @@ -207,7 +207,7 @@ pipeline.fit(data).transform(data).print();
<dependency>
<groupId>com.alibaba.alink</groupId>
<artifactId>alink_core_flink-1.11_2.11</artifactId>
<version>1.5.3</version>
<version>1.5.4</version>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
Expand All @@ -231,7 +231,7 @@ pipeline.fit(data).transform(data).print();
<dependency>
<groupId>com.alibaba.alink</groupId>
<artifactId>alink_core_flink-1.10_2.11</artifactId>
<version>1.5.3</version>
<version>1.5.4</version>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
Expand All @@ -251,7 +251,7 @@ pipeline.fit(data).transform(data).print();
<dependency>
<groupId>com.alibaba.alink</groupId>
<artifactId>alink_core_flink-1.9_2.11</artifactId>
<version>1.5.3</version>
<version>1.5.4</version>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
Expand Down

0 comments on commit 41a0011

Please sign in to comment.