This is an automated email from the ASF dual-hosted git repository.
zaynt4606 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/celeborn.git
The following commit(s) were added to refs/heads/main by this push:
new dfdada3c50 [MINOR] Fix sort shuffle writer wording in documentation
dfdada3c50 is described below
commit dfdada3c5030981ce0c19b1c331e923970411653
Author: F-yuyu <[email protected]>
AuthorDate: Tue Nov 17 10:40:53 2026 +0800
[MINOR] Fix sort shuffle writer wording in documentation
### What changes were proposed in this pull request?
Replace "sort hash writer" with "sort shuffle writer" in the Spark
configuration comments in README.md and docs/deploy.md.
### Why are the changes needed?
The comments recommend the sort-based shuffle writer when the shuffle
partition count is large, but incorrectly call it "sort hash writer".
The shuffle writer configuration distinguishes between hash and sort
writers.
### Does this PR resolve a correctness bug?
- [ ] Yes
### Does this PR introduce _any_ user-facing change?
- [x] Yes
Corrects the terminology in the user documentation.
### How was this patch tested?
- Previewed both Markdown files.
- Ran git diff --check.
No runtime tests were run because this change only updates documentation.
Closes #3967 from F-yuyu/docs/fix-bug.
Authored-by: F-yuyu <[email protected]>
Signed-off-by: zhengtao <[email protected]>
AI-Contributed/Feature: 0/4
AI-Contributed/UT: 0/0
---
README.md | 2 +-
docs/deploy.md | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index f2f2812711..67b8fef1b7 100644
--- a/README.md
+++ b/README.md
@@ -297,7 +297,7 @@ spark.shuffle.service.enabled false
# options: hash, sort
# Hash shuffle writer use (partition count) * (celeborn.push.buffer.max.size)
* (spark.executor.cores) memory.
-# Sort shuffle writer uses less memory than hash shuffle writer, if your
shuffle partition count is large, try to use sort hash writer.
+# Sort shuffle writer uses less memory than hash shuffle writer, if your
shuffle partition count is large, try to use sort shuffle writer.
spark.celeborn.client.spark.shuffle.writer hash
# We recommend setting `spark.celeborn.client.push.replicate.enabled` to true
to enable server-side data replication
diff --git a/docs/deploy.md b/docs/deploy.md
index 9e5835a9a2..5c3d0cb5f2 100644
--- a/docs/deploy.md
+++ b/docs/deploy.md
@@ -185,7 +185,7 @@ spark.shuffle.service.enabled false
# options: hash, sort
# Hash shuffle writer use (partition count) * (celeborn.push.buffer.max.size)
* (spark.executor.cores) memory.
-# Sort shuffle writer uses less memory than hash shuffle writer, if your
shuffle partition count is large, try to use sort hash writer.
+# Sort shuffle writer uses less memory than hash shuffle writer, if your
shuffle partition count is large, try to use sort shuffle writer.
spark.celeborn.client.spark.shuffle.writer hash
# We recommend setting `spark.celeborn.client.push.replicate.enabled` to true
to enable server-side data replication