This is an automated email from the ASF dual-hosted git repository. luzhijing 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 05809fa877 [Doc](jdbc) Modify `jdbc_driver_secure_path` desc when set is empty (#571) 05809fa877 is described below commit 05809fa877c38297951e75967bf79344e0b40ef4 Author: Lei Zhang <27994433+swjtu-zhang...@users.noreply.github.com> AuthorDate: Sun Apr 21 06:54:47 2024 +0800 [Doc](jdbc) Modify `jdbc_driver_secure_path` desc when set is empty (#571) --- docs/lakehouse/multi-catalog/jdbc.md | 2 +- .../current/lakehouse/multi-catalog/jdbc.md | 2 +- .../version-2.1/lakehouse/multi-catalog/jdbc.md | 2 +- versioned_docs/version-2.1/lakehouse/multi-catalog/jdbc.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/lakehouse/multi-catalog/jdbc.md b/docs/lakehouse/multi-catalog/jdbc.md index b86c3d2c9b..b7a94a1669 100644 --- a/docs/lakehouse/multi-catalog/jdbc.md +++ b/docs/lakehouse/multi-catalog/jdbc.md @@ -79,7 +79,7 @@ In order to prevent the use of a driver JAR package with a disallowed path when * Control the allowed driver package paths through the FE configuration item `jdbc_driver_secure_path`. This configuration item can configure multiple paths, separated by semicolons. When this item is configured, Doris will check whether the prefix of the `driver_url` path in the catalog properties is in `jdbc_driver_secure_path`. If not, it will refuse to create the catalog. * This parameter defaults to `*`, which means JAR packages of all paths are allowed. - * If the configuration `jdbc_driver_secure_path` is empty, driver packages for all paths are not allowed, which means that the driver package can only be specified using method 1 above. + * If the configuration `jdbc_driver_secure_path` is empty, also means all paths are allowed > If you configure `jdbc_driver_secure_path = "file:///path/to/jdbc_drivers;http://path/to/jdbc_drivers"`, only `file:///path/to/jdbc_drivers` or `http:// is allowed The driver package path starting with path/to/jdbc_drivers`. diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/lakehouse/multi-catalog/jdbc.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/lakehouse/multi-catalog/jdbc.md index 4036197184..4153ad9cdf 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/lakehouse/multi-catalog/jdbc.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/lakehouse/multi-catalog/jdbc.md @@ -78,7 +78,7 @@ PROPERTIES ("key"="value", ...) * 通过 FE 配置项 `jdbc_driver_secure_path` 来控制允许的驱动包路径,该配置项可配置多个路径,以分号分隔。当配置了该项时,Doris 会检查 Catalog properties 中 driver_url 的路径是的部分前缀是否在 `jdbc_driver_secure_path` 中,如果不在其中,则会拒绝创建 Catalog。 * 此参数默认为 `*` ,表示允许所有路径的 Jar 包。 - * 如果配置 `jdbc_driver_secure_path` 为空,则不允许所有路径的驱动包,也就意味着只能使用上述方式 1 来指定驱动包。 + * 如果配置 `jdbc_driver_secure_path` 为空,也表示允许所有路径的 Jar 包。 > 如配置 `jdbc_driver_secure_path = "file:///path/to/jdbc_drivers;http://path/to/jdbc_drivers"`, 则只允许以 `file:///path/to/jdbc_drivers` 或 `http://path/to/jdbc_drivers` 开头的驱动包路径。 diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/lakehouse/multi-catalog/jdbc.md b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/lakehouse/multi-catalog/jdbc.md index 06e404d387..027629ec4b 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/lakehouse/multi-catalog/jdbc.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/lakehouse/multi-catalog/jdbc.md @@ -77,7 +77,7 @@ PROPERTIES ("key"="value", ...) * 通过 FE 配置项 `jdbc_driver_secure_path` 来控制允许的驱动包路径,该配置项可配置多个路径,以分号分隔。当配置了该项时,Doris 会检查 Catalog properties 中 driver_url 的路径是的部分前缀是否在 `jdbc_driver_secure_path` 中,如果不在其中,则会拒绝创建 Catalog。 * 此参数默认为 `*` ,表示允许所有路径的 Jar 包。 - * 如果配置 `jdbc_driver_secure_path` 为空,则不允许所有路径的驱动包,也就意味着只能使用上述方式 1 来指定驱动包。 + * 如果配置 `jdbc_driver_secure_path` 为空,也表示允许所有路径的 Jar 包。 > 如配置 `jdbc_driver_secure_path = "file:///path/to/jdbc_drivers;http://path/to/jdbc_drivers"`, 则只允许以 `file:///path/to/jdbc_drivers` 或 `http://path/to/jdbc_drivers` 开头的驱动包路径。 diff --git a/versioned_docs/version-2.1/lakehouse/multi-catalog/jdbc.md b/versioned_docs/version-2.1/lakehouse/multi-catalog/jdbc.md index 2a8f57334a..a50c7149cd 100644 --- a/versioned_docs/version-2.1/lakehouse/multi-catalog/jdbc.md +++ b/versioned_docs/version-2.1/lakehouse/multi-catalog/jdbc.md @@ -77,7 +77,7 @@ In order to prevent the use of a driver JAR package with a disallowed path when * Control the allowed driver package paths through the FE configuration item `jdbc_driver_secure_path`. This configuration item can configure multiple paths, separated by semicolons. When this item is configured, Doris will check whether the prefix of the `driver_url` path in the catalog properties is in `jdbc_driver_secure_path`. If not, it will refuse to create the catalog. * This parameter defaults to `*`, which means JAR packages of all paths are allowed. - * If the configuration `jdbc_driver_secure_path` is empty, driver packages for all paths are not allowed, which means that the driver package can only be specified using method 1 above. + * If the configuration `jdbc_driver_secure_path` is empty, also means all paths are allowed > If you configure `jdbc_driver_secure_path = "file:///path/to/jdbc_drivers;http://path/to/jdbc_drivers"`, only `file:///path/to/jdbc_drivers` or `http:// is allowed The driver package path starting with path/to/jdbc_drivers`. --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org