zhongjiajie commented on code in PR #10264: URL: https://github.com/apache/dolphinscheduler/pull/10264#discussion_r884401986
########## docs/docs/en/guide/resource/configuration.md: ########## @@ -2,13 +2,23 @@ The Resource Center is usually used for operations such as uploading files, UDF functions, and task group management. You can appoint the local file directory as the upload directory for a single machine (this operation does not need to deploy Hadoop). Or you can also upload to a Hadoop or MinIO cluster, at this time, you need to have Hadoop (2.6+) or MinIO or other related environments. +## Local File Resource Configuration +For a single machine, you can choose to use local file directory as the upload directory (no need to deploy Hadoop) by making the following configuration. Review Comment: ```suggestion For a single machine, you can choose to use local file directory as the upload directory (no need to deploy Hadoop) by making the following configuration. ``` ########## docs/docs/zh/guide/resource/configuration.md: ########## @@ -2,6 +2,16 @@ 资源中心通常用于上传文件、 UDF 函数,以及任务组管理等操作。针对单机环境可以选择本地文件目录作为上传文件夹(此操作不需要部署 Hadoop)。当然也可以选择上传到 Hadoop or MinIO 集群上,此时则需要有 Hadoop(2.6+)或者 MinIOn 等相关环境。 +## 本地资源配置 +在单机环境下,可以选择使用本地文件目录作为上传文件夹(无需部署Hadoop),此时需要进行如下配置: + +### 配置 common.properties 文件 Review Comment: ```suggestion ### 配置 `common.properties` 文件 ``` ########## docs/docs/zh/guide/resource/configuration.md: ########## @@ -2,6 +2,16 @@ 资源中心通常用于上传文件、 UDF 函数,以及任务组管理等操作。针对单机环境可以选择本地文件目录作为上传文件夹(此操作不需要部署 Hadoop)。当然也可以选择上传到 Hadoop or MinIO 集群上,此时则需要有 Hadoop(2.6+)或者 MinIOn 等相关环境。 +## 本地资源配置 +在单机环境下,可以选择使用本地文件目录作为上传文件夹(无需部署Hadoop),此时需要进行如下配置: Review Comment: ```suggestion 在单机环境下,可以选择使用本地文件目录作为上传文件夹(无需部署Hadoop),此时需要进行如下配置: ``` ########## docs/docs/en/guide/resource/configuration.md: ########## @@ -2,13 +2,23 @@ The Resource Center is usually used for operations such as uploading files, UDF functions, and task group management. You can appoint the local file directory as the upload directory for a single machine (this operation does not need to deploy Hadoop). Or you can also upload to a Hadoop or MinIO cluster, at this time, you need to have Hadoop (2.6+) or MinIO or other related environments. +## Local File Resource Configuration +For a single machine, you can choose to use local file directory as the upload directory (no need to deploy Hadoop) by making the following configuration. + +### Configuring the `common.properties` + +Configure the file in the following paths: `api-server/conf/common.properties` and `worker-server/conf/common.properties`. + +- Change `data.basedir.path` to the local directory path. Please make sure the directory exists and the user who deploy dolphinscheduler have read and write permissions, such as: `data.basedir.path=/tmp/dolphinscheduler`. Review Comment: ```suggestion - Change `data.basedir.path` to the local directory path. Please make sure the user who deploy dolphinscheduler have read and write permissions, such as: `data.basedir.path=/tmp/dolphinscheduler`. And the directory you configured will be auto-created if it does not exists. ``` ########## docs/docs/zh/guide/resource/configuration.md: ########## @@ -2,6 +2,16 @@ 资源中心通常用于上传文件、 UDF 函数,以及任务组管理等操作。针对单机环境可以选择本地文件目录作为上传文件夹(此操作不需要部署 Hadoop)。当然也可以选择上传到 Hadoop or MinIO 集群上,此时则需要有 Hadoop(2.6+)或者 MinIOn 等相关环境。 +## 本地资源配置 +在单机环境下,可以选择使用本地文件目录作为上传文件夹(无需部署Hadoop),此时需要进行如下配置: + +### 配置 common.properties 文件 + +对以下路径的文件进行配置:`api-server/conf/common.properties` 和 `worker-server/conf/common.properties` + +- 将 `data.basedir.path` 改为本地存储路径,请确保路径存在,并且部署 DolphinScheduler 的用户拥有读写权限,例如:`data.basedir.path=/tmp/dolphinscheduler` Review Comment: ```suggestion - 将 `data.basedir.path` 改为本地存储路径,请确保部署 DolphinScheduler 的用户拥有读写权限,例如:`data.basedir.path=/tmp/dolphinscheduler`。当路径不存在时会自动创建文件夹 ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
