This is an automated email from the ASF dual-hosted git repository.

philo pushed a commit to branch branch-1.2
in repository https://gitbox.apache.org/repos/asf/incubator-gluten.git


The following commit(s) were added to refs/heads/branch-1.2 by this push:
     new 6a061ae89 [VL][DOC] Branch-1.2: Port #6533 to add uniffle doc (#6542)
6a061ae89 is described below

commit 6a061ae89e9dc485c83b3bc1eacaaa884c509fad
Author: summaryzb <[email protected]>
AuthorDate: Mon Jul 22 10:34:34 2024 +0800

    [VL][DOC] Branch-1.2: Port #6533 to add uniffle doc (#6542)
---
 docs/get-started/Velox.md | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/docs/get-started/Velox.md b/docs/get-started/Velox.md
index da4972b12..d8092b8c5 100644
--- a/docs/get-started/Velox.md
+++ b/docs/get-started/Velox.md
@@ -264,6 +264,40 @@ spark.celeborn.storage.hdfs.dir hdfs://<namenode>/celeborn
 spark.dynamicAllocation.enabled false
 ```
 
+## Uniffle support
+
+Uniffle with velox backend supports 
[Uniffle](https://github.com/apache/incubator-uniffle) as remote shuffle 
service. Currently, the supported Uniffle versions are `0.8.0`.
+
+First refer to this URL(https://uniffle.apache.org/docs/intro) to get start 
with uniffle.
+
+When compiling the Gluten Java module, it's required to enable `uniffle` 
profile, as follows:
+
+```
+mvn clean package -Pbackends-velox -Pspark-3.3 -Puniffle -DskipTests
+```
+
+Then add the Uniffle and Spark Celeborn Client packages to your Spark 
application's classpath(usually add them into `$SPARK_HOME/jars`).
+
+- Uniffle: rss-client-spark3-shaded-[uniffleVersion].jar
+- Gluten: gluten-uniffle-velox-xxx-SNAPSHOT-3.x.jar
+
+Currently to use Gluten following configurations are required in 
`spark-defaults.conf`
+
+```
+spark.shuffle.manager 
org.apache.spark.shuffle.gluten.uniffle.UniffleShuffleManager
+# uniffle coordinator address
+spark.rss.coordinator.quorum ip:port
+# Support for Spark AQE
+spark.sql.adaptive.localShuffleReader.enabled false
+spark.shuffle.service.enabled false
+# Uniffle support mutilple storage types, you can choose one of them.
+# Such as 
MEMORY,LOCALFILE,MEMORY_LOCALFILE,HDFS,MEMORY_HDFS,LOCALFILE_HDFS,MEMORY_LOCALFILE_HDFS
+spark.rss.storage.type LOCALFILE_HDFS
+# If you want to use dynamic resource allocation,
+# please refer to this URL 
(https://github.com/apache/incubator-uniffle/tree/master/patch/spark) to apply 
the patch into your own Spark.
+spark.dynamicAllocation.enabled false
+```
+
 ## DeltaLake Support
 
 Gluten with velox backend supports [DeltaLake](https://delta.io/) table.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to