diff --git a/hetu-docs/en/develop/spi-overview.md b/hetu-docs/en/develop/spi-overview.md index 6460a54c0c6384b981010e2f9c53c4cb3cb71d1f..077f42488f6392f04732f681437749324da6ef58 100644 --- a/hetu-docs/en/develop/spi-overview.md +++ b/hetu-docs/en/develop/spi-overview.md @@ -49,6 +49,6 @@ For an example `pom.xml` file, see the example HTTP connector in the `presto-exa In order to add a custom plugin to a openLooKeng installation, create a directory for that plugin in the openLooKeng plugin directory and add all the necessary jars for the plugin to that directory. For example, for a plugin called `my-functions`, you would create a directory `my-functions` in the openLooKeng plugin directory and add the relevant jars to that directory. -By default, the plugin directory is the `plugin` directory relative to the directory in which openLooKeng is installed, but it is configurable using the configuration variable `catalog.config-dir`. In order for openLooKeng to pick up the new plugin, you must restart openLooKeng. +By default, the plugin directory is the `plugin` directory relative to the directory in which openLooKeng is installed, but it is configurable using the configuration variable `plugin.dir`. In order for openLooKeng to pick up the new plugin, you must restart openLooKeng. Plugins must be installed on all nodes in the openLooKeng cluster (coordinator and workers). diff --git a/hetu-docs/zh/develop/spi-overview.md b/hetu-docs/zh/develop/spi-overview.md index d0ac6016ff4a8554eb3d38aa57342d0fcd6e3f6e..7354c9834d6afeeecf4609154eaa4ee66c024235 100644 --- a/hetu-docs/zh/develop/spi-overview.md +++ b/hetu-docs/zh/develop/spi-overview.md @@ -49,6 +49,6 @@ openLooKeng 还提供了其他一些依赖项,包括 Slice 和 Jackson 注释 要在 openLooKeng 安装中添加自定义插件,请在 openLooKeng 插件目录中为该插件创建一个目录,并且在该目录中添加此插件的所有必需 JAR 文件。例如,对于名为 `my-functions` 的插件,您应在 openLooKeng 插件目录中创建 `my-functions` 目录,并在该目录中添加相关的 JAR 文件。 -默认情况下,插件目录是相对于 openLooKeng 安装目录的 `plugin` 目录,但可以使用配置变量 `catalog.config-dir` 来配置插件目录。为了使 openLooKeng 能够识别新插件,您必须重新启动 openLooKeng。 +默认情况下,插件目录是相对于 openLooKeng 安装目录的 `plugin` 目录,但可以使用配置变量 `plugin.dir` 来配置插件目录。为了使 openLooKeng 能够识别新插件,您必须重新启动 openLooKeng。 必须在 openLooKeng 集群的所有节点(协调节点和工作节点)上安装插件。 \ No newline at end of file