Skip to content
This repository was archived by the owner on Dec 28, 2025. It is now read-only.

Commit dc7d2fd

Browse files
refactor: improve toolchain test docs with correct formats & modified misleading informations
1 parent 8335a27 commit dc7d2fd

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

content/cn/docs/guides/toolchain-local-test.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ volumes:
193193
```
194194
195195
#### Hadoop 配置挂载
196-
`./config`文件夹用于配置挂载,请自行选择是否设置,需要与 `docker-compose.yml` 位于同一文件夹
196+
在与 `docker-compose.yml` 相同的目录下创建 `./config` 文件夹用于挂载 Hadoop 配置文件。如果不需要 HDFS 测试,可以跳过此步骤。
197197

198198
📁 ./config/core-site.xml 内容:
199199

content/en/docs/guides/toolchain-local-test.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
32
title: "HugeGraph Toolchain Local Testing Guide"
43
linkTitle: "Toolchain Local Testing"
54
weight: 4
@@ -194,7 +193,7 @@ volumes:
194193
```
195194
196195
#### Hadoop Configuration Mounts
197-
The `./config` folder is used for configuration mounting. You can choose whether to set it up as needed.It needs to be in the same folder as `docker-compose.yml`.
196+
Create a `./config` folder in the same directory as `docker-compose.yml` to mount Hadoop configuration files. You can skip this step if HDFS testing is not required.
198197

199198
📁 `./config/core-site.xml` content:
200199

@@ -213,11 +212,11 @@ The `./config` folder is used for configuration mounting. You can choose whether
213212
<configuration>
214213
<property>
215214
<name>dfs.namenode.name.dir</name>
216-
<value>/hadoop/dfs/name</value>
215+
<value>/hadoop/hdfs/name</value>
217216
</property>
218217
<property>
219218
<name>dfs.datanode.data.dir</name>
220-
<value>/hadoop/dfs/data</value>
219+
<value>/hadoop/hdfs/data</value>
221220
</property>
222221
<property>
223222
<name>dfs.permissions.superusergroup</name>

0 commit comments

Comments
 (0)