Skip to content

Commit 04291ff

Browse files
leosanqingwuchong
authored andcommitted
[docs] Use a remote path instead of local path for "data.remote.dir" in distributed cluster guide (#1484)
1 parent 7c0781b commit 04291ff

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

website/docs/install-deploy/deploying-distributed-cluster.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,10 @@ bind.listeners: FLUSS://192.168.10.100:9123
8787
zookeeper.address: 192.168.10.199:2181
8888
zookeeper.path.root: /fluss
8989

90-
remote.data.dir: /tmp/fluss-remote-data
90+
# When running in distributed mode, be sure to point to a remote path—
91+
# e.g. oss://bucket/path for OSS or hdfs://namenode:port/path for HDFS.
92+
# Otherwise, queries will fail with a “No such file or directory” error.
93+
remote.data.dir: hdfs://namenode:port/tmp/fluss-remote-data
9194
```
9295
9396
**Node1**
@@ -100,7 +103,10 @@ tablet-server.id: 1
100103
zookeeper.address: 192.168.10.199:2181
101104
zookeeper.path.root: /fluss
102105

103-
remote.data.dir: /tmp/fluss-remote-data
106+
# When running in distributed mode, be sure to point to a remote path—
107+
# e.g. oss://bucket/path for OSS or hdfs://namenode:port/path for HDFS.
108+
# Otherwise, queries will fail with a “No such file or directory” error.
109+
remote.data.dir: hdfs://namenode:port/tmp/fluss-remote-data
104110
```
105111
106112
**Node2**
@@ -113,7 +119,10 @@ tablet-server.id: 2
113119
zookeeper.address: 192.168.10.199:2181
114120
zookeeper.path.root: /fluss
115121

116-
remote.data.dir: /tmp/fluss-remote-data
122+
# When running in distributed mode, be sure to point to a remote path—
123+
# e.g. oss://bucket/path for OSS or hdfs://namenode:port/path for HDFS.
124+
# Otherwise, queries will fail with a “No such file or directory” error.
125+
remote.data.dir: hdfs://namenode:port/tmp/fluss-remote-data
117126
```
118127
119128
**Node3**
@@ -125,7 +134,10 @@ tablet-server.id: 3
125134
zookeeper.address: 192.168.10.199:2181
126135
zookeeper.path.root: /fluss
127136

128-
remote.data.dir: /tmp/fluss-remote-data
137+
# When running in distributed mode, be sure to point to a remote path—
138+
# e.g. oss://bucket/path for OSS or hdfs://namenode:port/path for HDFS.
139+
# Otherwise, queries will fail with a “No such file or directory” error.
140+
remote.data.dir: hdfs://namenode:port/tmp/fluss-remote-data
129141
```
130142
131143
:::note

0 commit comments

Comments
 (0)