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

dongjoon pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/master by this push:
     new 767be89d30bb [MINOR][DOCS] Update Maven version and MAVEN_OPTS setting 
in `building-spark.md` docs
767be89d30bb is described below

commit 767be89d30bb42e472a207f0ed4a60ac99feb09c
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Sat Feb 7 14:37:39 2026 -0800

    [MINOR][DOCS] Update Maven version and MAVEN_OPTS setting in 
`building-spark.md` docs
    
    ### What changes were proposed in this pull request?
    
    This PR aims to update Maven version and MAVEN_OPTS setting in 
`building-spark.md` docs.
    
    ### Why are the changes needed?
    
    To be up-to-date with the actual building information used in GitHub Action 
currently.
    
    
https://github.com/apache/spark/blob/bbd8fd6af72e00a8152641fe008353391d8396f1/pom.xml#L123
    
    
https://github.com/apache/spark/blob/bbd8fd6af72e00a8152641fe008353391d8396f1/.github/workflows/maven_test.yml#L198
    
    ### Does this PR introduce _any_ user-facing change?
    
    No behavior change.
    
    ### How was this patch tested?
    
    Manual review.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    No.
    
    Closes #54196 from dongjoon-hyun/BUILDING-SPARK.
    
    Authored-by: Dongjoon Hyun <[email protected]>
    Signed-off-by: Dongjoon Hyun <[email protected]>
---
 docs/building-spark.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/building-spark.md b/docs/building-spark.md
index 1a2da3b01726..57fa3c2bd6a4 100644
--- a/docs/building-spark.md
+++ b/docs/building-spark.md
@@ -27,7 +27,7 @@ license: |
 ## Apache Maven
 
 The Maven-based build is the build of reference for Apache Spark.
-Building Spark using Maven requires Maven 3.9.9 and Java 17/21.
+Building Spark using Maven requires Maven 3.9.12 and Java 17/21.
 Spark requires Scala 2.13; support for Scala 2.12 was removed in Spark 4.0.0.
 
 ### Setting up Maven's Memory Usage
@@ -35,7 +35,7 @@ Spark requires Scala 2.13; support for Scala 2.12 was removed 
in Spark 4.0.0.
 You'll need to configure Maven to use more memory than usual by setting 
`MAVEN_OPTS`:
 
 ```sh
-export MAVEN_OPTS="-Xss64m -Xmx2g -XX:ReservedCodeCacheSize=1g"
+export MAVEN_OPTS="-Xss64m -Xmx4g -Xms4g -XX:ReservedCodeCacheSize=128m"
 ```
 
 (The `ReservedCodeCacheSize` setting is optional but recommended.)


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

Reply via email to