This is an automated email from the ASF dual-hosted git repository.
roryqi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-uniffle.git
The following commit(s) were added to refs/heads/master by this push:
new f49b566d [MINOR][DOC] Remove spaces when reading file of excluded
nodes (#155)
f49b566d is described below
commit f49b566dc71def542407b8503c7180a3ae41ec00
Author: jokercurry <[email protected]>
AuthorDate: Thu Aug 11 18:56:22 2022 +0800
[MINOR][DOC] Remove spaces when reading file of excluded nodes (#155)
### What changes were proposed in this pull request?
Remove spaces when reading file of excluded nodes and the use of the
excluded node file was added to the coordinator's introduction document.
### Why are the changes needed?
More user-friendly.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
No need.
---
.../org/apache/uniffle/coordinator/SimpleClusterManager.java | 2 +-
docs/coordinator_guide.md | 10 +++++++++-
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git
a/coordinator/src/main/java/org/apache/uniffle/coordinator/SimpleClusterManager.java
b/coordinator/src/main/java/org/apache/uniffle/coordinator/SimpleClusterManager.java
index 1535c626..2c54a4d5 100644
---
a/coordinator/src/main/java/org/apache/uniffle/coordinator/SimpleClusterManager.java
+++
b/coordinator/src/main/java/org/apache/uniffle/coordinator/SimpleClusterManager.java
@@ -155,7 +155,7 @@ public class SimpleClusterManager implements ClusterManager
{
String line;
while ((line = br.readLine()) != null) {
if (!StringUtils.isEmpty(line)) {
- nodes.add(line);
+ nodes.add(line.trim());
}
}
}
diff --git a/docs/coordinator_guide.md b/docs/coordinator_guide.md
index 6764b529..cd71326d 100644
--- a/docs/coordinator_guide.md
+++ b/docs/coordinator_guide.md
@@ -61,7 +61,15 @@ This document will introduce how to deploy Uniffle
coordinators.
rss.writer.send.check.timeout 600000
rss.client.read.buffer.size 14m
```
-5. start Coordinator
+
+5. update <RSS_HOME>/conf/exclude_nodes, coordinator will update excluded node
by this file eg,
+ ```
+ # shuffleServer's ip and port, connected with "-"
+ 110.23.15.36-19999
+ 110.23.15.35-19996
+ ```
+
+6. start Coordinator
```
bash RSS_HOME/bin/start-coordnator.sh
```