You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/05/27 07:41:58 UTC

[GitHub] [dolphinscheduler] GavinGYM commented on a diff in pull request #10264: [Feature-9385][docs] Added Local File Resource Configuration Guide to the document

GavinGYM commented on code in PR #10264:
URL: https://github.com/apache/dolphinscheduler/pull/10264#discussion_r883354675


##########
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 have read write permissions, such as: `data.basedir.path=C:/tmp/dolphinscheduler`.
+- Modify two fields, `resource.storage.type=HDFS` and `fs.defaultFS=file:///`.
+
 ## HDFS Resource Configuration
 
 When it is necessary to use the Resource Center to create or upload relevant files, all files and resources will be stored on HDFS. Therefore the following configuration is required.
 
 ### Configuring the common.properties
 
-After version 3.0.0-alpha, if you want to upload resources using HDFS or S3 from the Resource Center, you will need to configure the following paths The following paths need to be configured: `api-server/conf/common.properties` and `worker-server/conf/common.properties`. This can be found as follows.
+After version 3.0.0-alpha, if you want to upload resources using HDFS or S3 from the Resource Center, you will need to configure the following paths: `api-server/conf/common.properties` and `worker-server/conf/common.properties`. This can be found as follows.

Review Comment:
   The text repeats itself here. `you will need to configure the following paths` and `The following paths need to be configured`. I deleted one of them and kept the other.



-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org