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 fc17c6d8f19 [Fix](Docs) fix trino-connector docs (#741)
fc17c6d8f19 is described below
commit fc17c6d8f191758ae798dc8917ded631e094195c
Author: Tiewei Fang <[email protected]>
AuthorDate: Sun Jun 16 22:10:28 2024 +0800
[Fix](Docs) fix trino-connector docs (#741)
---
community/how-to-contribute/trino-connector-developer-guide.md | 4 ++--
.../current/how-to-contribute/trino-connector-developer-guide.md | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/community/how-to-contribute/trino-connector-developer-guide.md
b/community/how-to-contribute/trino-connector-developer-guide.md
index 9bed03e93b5..0b07aa6c381 100644
--- a/community/how-to-contribute/trino-connector-developer-guide.md
+++ b/community/how-to-contribute/trino-connector-developer-guide.md
@@ -94,7 +94,7 @@ After completing the previous two steps, we can use the
Trino-Connector Catalog
explain:
- `type` :The type of catalog, here we must set it to `trino-connector`.
- -
`connector.name`、`kafka.table-names`、`kafka.nodes`、`kafka.table-description-dir`
The following four properties are derived from trino, refer to: [Kafka
connector](https://trino.io/docs/current/connector/kafka.html#configuration)
+ -
`trino.connector.name`、`trino.kafka.table-names`、`trino.kafka.nodes`、`trino.kafka.table-description-dir`
The following four properties are derived from trino, refer to: [Kafka
connector](https://trino.io/docs/current/connector/kafka.html#configuration)
Different Connector plug-ins should set different properties. You can
refer to the official trino documentation:
[Connectors](https://trino.io/docs/current/connector.html#connector--page-root)
@@ -116,7 +116,7 @@ The following are the Doris Trino-Connector catalog
configuration of several com
```
> Note:
- > - You should add Hadoop's user name in the JVM parameters:
-DHADOOP_USER_NAME=ftw, which can be configured at the end of the
JAVA_OPTS_FOR_JDK_17 parameter in the fe.conf / be.conf file, such as
JAVA_OPTS_FOR_JDK_17="...-DHADOOP_USER_NAME=ftw"
+ > - You should add Hadoop's user name in the JVM parameters:
-DHADOOP_USER_NAME=user, which can be configured at the end of the
JAVA_OPTS_FOR_JDK_17 parameter in the fe.conf / be.conf file, such as
JAVA_OPTS_FOR_JDK_17="...-DHADOOP_USER_NAME=user"
2. Mysql
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-contribute/trino-connector-developer-guide.md
b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-contribute/trino-connector-developer-guide.md
index e5435780551..70256582f6c 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-contribute/trino-connector-developer-guide.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-contribute/trino-connector-developer-guide.md
@@ -93,7 +93,7 @@ Trino 没有提供官方编译好的 Connector 插件,所以需要我们自己
解释:
- `type` :Catalog 类型,这里我们必须设置为 `trino-connector` 。
- -
`connector.name`、`kafka.table-names`、`kafka.nodes`、`kafka.table-description-dir`
这四个属性都是来源于trino,参考:[Kafka
connector](https://trino.io/docs/current/connector/kafka.html#configuration)
+ -
`trino.connector.name`、`trino.kafka.table-names`、`trino.kafka.nodes`、`trino.kafka.table-description-dir`
这四个属性都是来源于trino,参考:[Kafka
connector](https://trino.io/docs/current/connector/kafka.html#configuration)
不同的Connector插件应该设置不同的属性,可以参考trino官方文档:[Connectors](https://trino.io/docs/current/connector.html#connector--page-root)
@@ -115,7 +115,7 @@ Trino 没有提供官方编译好的 Connector 插件,所以需要我们自己
```
> 使用 Hive 插件时需要注意:
- > - 需要在 JVM 参数里加上 Hadoop 的用户:-DHADOOP_USER_NAME=ftw,可以配置在 fe.conf /
be.conf 文件的JAVA_OPTS_FOR_JDK_17 参数末尾,如
JAVA_OPTS_FOR_JDK_17="...-DHADOOP_USER_NAME=ftw"
+ > - 需要在 JVM 参数里加上 Hadoop 的用户:-DHADOOP_USER_NAME=user,可以配置在 fe.conf /
be.conf 文件的JAVA_OPTS_FOR_JDK_17 参数末尾,如
JAVA_OPTS_FOR_JDK_17="...-DHADOOP_USER_NAME=user"
2. Mysql
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]