yew1eb commented on PR #3768:
URL: https://github.com/apache/celeborn/pull/3768#issuecomment-5278712765

   Thanks @pan3793. Added an example Spark cluster (1 master + 2 workers) to 
docker-compose so the stack can be exercised end-to-end.
   Spark runs inside `celeborn-net` and contacts the master directly via 
`spark.celeborn.master.endpoints=celeborn-master:9097`, so no
     worker ports need to be exposed — worker push/fetch ports stay random, 
handed out by the master.
   
   ```
   ./docker/build-image.sh -Pspark-3.5      # celeborn:dev + celeborn-spark:dev
   docker compose -f docker/docker-compose.yaml up -d
   docker exec celeborn-spark-master /opt/spark/bin/spark-submit \
       --master spark://celeborn-spark-master:7077 \
       --class org.apache.spark.examples.GroupByTest \
       /opt/spark/examples/jars/spark-examples_2.12-3.5.0.jar 10 100 1000 10
   ```
   <img width="2538" height="760" alt="image" 
src="https://github.com/user-attachments/assets/7e0c98c5-a3ad-4d3c-821e-c5c741c7c401";
 />
   
   <img width="2474" height="990" alt="image" 
src="https://github.com/user-attachments/assets/930245bf-aea4-499d-88c2-2b50f79bd7df";
 />
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to