This is an automated email from the ASF dual-hosted git repository. morningman pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push: new fc23b2ad8ec [fix](DeltaLake) add hdfs link in the `deltaCatalog` docs (#2080) fc23b2ad8ec is described below commit fc23b2ad8ec538228483c1247b38c1516f5f76d5 Author: Tiewei Fang <ftw2...@163.com> AuthorDate: Tue Feb 25 10:35:23 2025 +0800 [fix](DeltaLake) add hdfs link in the `deltaCatalog` docs (#2080) ## Versions - [x] dev - [x] 3.0 - [ ] 2.1 - [ ] 2.0 ## Languages - [x] Chinese - [x] English ## Docs Checklist - [ ] Checked by AI - [ ] Test Cases Built --- docs/lakehouse/catalogs/delta-lake-catalog.md | 9 ++++++--- .../current/lakehouse/catalogs/delta-lake-catalog.md | 9 ++++++--- .../version-3.0/lakehouse/datalake-analytics/deltalake.md | 13 ++++++++----- .../version-3.0/lakehouse/datalake-analytics/deltalake.md | 9 ++++++--- 4 files changed, 26 insertions(+), 14 deletions(-) diff --git a/docs/lakehouse/catalogs/delta-lake-catalog.md b/docs/lakehouse/catalogs/delta-lake-catalog.md index a4fd856809a..36a100f84ac 100644 --- a/docs/lakehouse/catalogs/delta-lake-catalog.md +++ b/docs/lakehouse/catalogs/delta-lake-catalog.md @@ -49,21 +49,24 @@ $ cd doris-thirdparty $ git checkout trino-435 $ cd plugin/trino-delta-lake $ mvn clean install -DskipTest +$ cd ../../lib/trino-hdfs +$ mvn clean install -DskipTest ``` -After compilation, the `trino/plugin/trino-delta-lake/target/` directory will contain the `trino-delta-lake-435` folder. +After compiling, you will find the `trino-delta-lake-435` directory under `trino/plugin/trino-delta-lake/target/` and the `hdfs` directory under `trino/lib/trino-hdfs/target/`. -You can also directly download the precompiled [trino-delta-lake-435-20240724.tar.gz](https://github.com/apache/doris-thirdparty/releases/download/trino-435-20240724/trino-delta-lake-435-20240724.tar.gz) and extract it. +You can also directly download the precompiled [trino-delta-lake-435-20240724.tar.gz](https://github.com/apache/Doris-thirdparty/releases/download/trino-435-20240724/trino-delta-lake-435-20240724.tar.gz) and [hdfs.tar.gz](https://github.com/apache/doris-thirdparty/releases/download/trino-435-20240724/trino-hdfs-435-20240724.tar.gz), then extract them. ### Deploy the Delta Lake Connector -Place the `trino-delta-lake-435/` directory into the `connectors/` directory of the deployment paths for all FE and BE nodes. (If the directory does not exist, you can create it manually.) +Place the `trino-delta-lake-435/` directory in the `connectors/` directory of all FE and BE deployment paths(If it does not exist, you can create it manually) and extract `hdfs.tar.gz` into the `trino-delta-lake-435/` directory. ```text ├── bin ├── conf ├── connectors │ ├── trino-delta-lake-435 +│ │ ├── hdfs ... ``` diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/lakehouse/catalogs/delta-lake-catalog.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/lakehouse/catalogs/delta-lake-catalog.md index eb8f8578f63..4f805499537 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/lakehouse/catalogs/delta-lake-catalog.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/lakehouse/catalogs/delta-lake-catalog.md @@ -49,21 +49,24 @@ $ cd doris-thirdparty $ git checkout trino-435 $ cd plugin/trino-delta-lake $ mvn clean install -DskipTest +$ cd ../../lib/trino-hdfs +$ mvn clean install -DskipTest ``` -完成编译后,会在 `trino/plugin/trino-delta-lake/target/` 下得到 `trino-delta-lake-435` 目录。 +完成编译后,会在 `trino/plugin/trino-delta-lake/target/` 下得到 `trino-delta-lake-435` 目录,在 `trino/lib/trino-hdfs/target/` 下得到 `hdfs` 目录 -也可以直接下载预编译的 [trino-delta-lake-435-20240724.tar.gz](https://github.com/apache/doris-thirdparty/releases/download/trino-435-20240724/trino-delta-lake-435-20240724.tar.gz) 并解压。 +也可以直接下载预编译的 [trino-delta-lake-435-20240724.tar.gz](https://github.com/apache/Doris-thirdparty/releases/download/trino-435-20240724/trino-delta-lake-435-20240724.tar.gz) 及 [hdfs.tar.gz](https://github.com/apache/doris-thirdparty/releases/download/trino-435-20240724/trino-hdfs-435-20240724.tar.gz) 并解压。 ### 部署 Delta Lake Connector -将 `trino-delta-lake-435/` 目录放到所有 FE 和 BE 部署路径的 `connectors/` 目录下。(如果没有,可以手动创建)。 +将 `trino-delta-lake-435/` 目录放到所有 FE 和 BE 部署路径的 `connectors/` 目录下(如果没有,可以手动创建),将 `hdfs.tar.gz` 解压到 `trino-delta-lake-435/` 目录下。 ```text ├── bin ├── conf ├── connectors │ ├── trino-delta-lake-435 +│ │ ├── hdfs ... ``` diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/lakehouse/datalake-analytics/deltalake.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/lakehouse/datalake-analytics/deltalake.md index dd33319a253..fd06192c3f8 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/lakehouse/datalake-analytics/deltalake.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.0/lakehouse/datalake-analytics/deltalake.md @@ -34,12 +34,12 @@ Delta Lake Catalog 通过 [Trino Connector](https://doris.apache.org/zh-CN/commu ## 使用须知 -1. 在使用 Trino Catalog 访问 Delta Lake 表之前,必须先编译 Trino 的 Delta Lake 插件,并将其放在指定目录下。具体操作步骤参考下文。 +1. 在使用 Trino Catalog 访问 Delta Lake 表之前,必须先编译 Trino 的 Delta Lake 插件和 Hdfs 插件,并将其放在指定目录下。具体操作步骤参考下文。 2. 当前 Doris 适配 Trino 435 版本的插件,如果使用低于或高于 435 版本的 Trino 插件,可能会出现兼容性问题。 3. 当前不支持 Delta Lake 的 Time Travel 功能。 4. 当前不支持查询 Delta Lake 的 history 信息。 -## 编译 Delta Lake Connector 插件 +## 编译 Delta Lake Connector 插件和 Hdfs 插件 > 需要 JDK 17 版本。 @@ -49,21 +49,24 @@ $ cd Doris-thirdparty $ git checkout trino-435 $ cd plugin/trino-delta-lake $ mvn clean install -DskipTest +$ cd ../../lib/trino-hdfs +$ mvn clean install -DskipTest ``` -完成编译后,会在 `trino/plugin/trino-delta-lake/target/` 下得到 `trino-delta-lake-435` 目录。 +完成编译后,会在 `trino/plugin/trino-delta-lake/target/` 下得到 `trino-delta-lake-435` 目录,在 `trino/lib/trino-hdfs/target/` 下得到 `hdfs` 目录 -也可以直接下载预编译的 [trino-delta-lake-435-20240724.tar.gz](https://github.com/apache/Doris-thirdparty/releases/download/trino-435-20240724/trino-delta-lake-435-20240724.tar.gz) 并解压。 +也可以直接下载预编译的 [trino-delta-lake-435-20240724.tar.gz](https://github.com/apache/Doris-thirdparty/releases/download/trino-435-20240724/trino-delta-lake-435-20240724.tar.gz) 及 [hdfs.tar.gz](https://github.com/apache/doris-thirdparty/releases/download/trino-435-20240724/trino-hdfs-435-20240724.tar.gz) 并解压。 ## 部署 Delta Lake Connector -将 `trino-delta-lake-435/` 目录放到所有 FE 和 BE 部署路径的 `connectors/` 目录下。(如果没有,可以手动创建)。 +将 `trino-delta-lake-435/` 目录放到所有 FE 和 BE 部署路径的 `connectors/` 目录下(如果没有,可以手动创建),将 `hdfs.tar.gz` 解压到 `trino-delta-lake-435/` 目录下。 ```Plain Text ├── bin ├── conf ├── connectors │ ├── trino-delta-lake-435 +│ │ ├── hdfs ... ``` 部署完成后,建议重启 FE、BE 节点以确保 Connector 可以被正确加载。 diff --git a/versioned_docs/version-3.0/lakehouse/datalake-analytics/deltalake.md b/versioned_docs/version-3.0/lakehouse/datalake-analytics/deltalake.md index 82ebce5780a..96e27062834 100644 --- a/versioned_docs/version-3.0/lakehouse/datalake-analytics/deltalake.md +++ b/versioned_docs/version-3.0/lakehouse/datalake-analytics/deltalake.md @@ -49,21 +49,24 @@ $ cd Doris-thirdparty $ git checkout trino-435 $ cd plugin/trino-delta-lake $ mvn clean install -DskipTest +$ cd ../../lib/trino-hdfs +$ mvn clean install -DskipTest ``` -After compiling, you will find the `trino-delta-lake-435` directory under `trino/plugin/trino-delta-lake/target/`. +After compiling, you will find the `trino-delta-lake-435` directory under `trino/plugin/trino-delta-lake/target/` and the `hdfs` directory under `trino/lib/trino-hdfs/target/`. -You can also directly download the precompiled [trino-delta-lake-435-20240724.tar.gz](https://github.com/apache/Doris-thirdparty/releases/download/trino-435-20240724/trino-delta-lake-435-20240724.tar.gz) and extract it. +You can also directly download the precompiled [trino-delta-lake-435-20240724.tar.gz](https://github.com/apache/Doris-thirdparty/releases/download/trino-435-20240724/trino-delta-lake-435-20240724.tar.gz) and [hdfs.tar.gz](https://github.com/apache/doris-thirdparty/releases/download/trino-435-20240724/trino-hdfs-435-20240724.tar.gz), then extract them. ## Deploying the Delta Lake Connector -Place the `trino-delta-lake-435/` directory in the `connectors/` directory of all FE and BE deployment paths. (If it does not exist, you can create it manually). +Place the `trino-delta-lake-435/` directory in the `connectors/` directory of all FE and BE deployment paths(If it does not exist, you can create it manually) and extract `hdfs.tar.gz` into the `trino-delta-lake-435/` directory. ```Plain Text ├── bin ├── conf ├── connectors │ ├── trino-delta-lake-435 +│ │ ├── hdfs ... ``` --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org