You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by gu...@apache.org on 2022/06/16 00:26:56 UTC

[spark] branch master updated: [SPARK-39482][DOCS] Add build and test documentation on IPv6

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

gurwls223 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 9359972d198 [SPARK-39482][DOCS] Add build and test documentation on IPv6
9359972d198 is described below

commit 9359972d1983137e4c3c948a03172d819cef7eee
Author: Dongjoon Hyun <do...@apache.org>
AuthorDate: Thu Jun 16 09:26:45 2022 +0900

    [SPARK-39482][DOCS] Add build and test documentation on IPv6
    
    ### What changes were proposed in this pull request?
    
    This PR aims to add a documentation about building and testing on IPv6 environment.
    
    ### Why are the changes needed?
    
    Without building and testing, we cannot move forward.
    This will help us achieve our goal to support IPv6-only environment.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No. This is a doc-only.
    
    ### How was this patch tested?
    
    Manually review.
    
    Closes #36879 from dongjoon-hyun/SPARK-39482.
    
    Authored-by: Dongjoon Hyun <do...@apache.org>
    Signed-off-by: Hyukjin Kwon <gu...@apache.org>
---
 docs/building-spark.md | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/docs/building-spark.md b/docs/building-spark.md
index 4e775095a37..3dfe3cd4291 100644
--- a/docs/building-spark.md
+++ b/docs/building-spark.md
@@ -303,3 +303,17 @@ If use an individual repository or a repository on GitHub Enterprise, export bel
   </td>
 </tr>
 </table>
+
+### Building and testing on IPv6-only environment
+
+Use Apache Spark GitBox URL because GitHub doesn't support IPv6 yet.
+
+    https://gitbox.apache.org/repos/asf/spark.git
+
+To build and run tests on IPv6-only environment, the following configurations are required.
+
+    export SPARK_LOCAL_HOSTNAME="your-IPv6-address" # e.g. '[2600:1700:232e:3de0:...]'
+    export DEFAULT_ARTIFACT_REPOSITORY=https://ipv6.repo1.maven.org/maven2/
+    export MAVEN_OPTS="-Djava.net.preferIPv6Addresses=true"
+    export SBT_OPTS="-Djava.net.preferIPv6Addresses=true"
+    export SERIAL_SBT_TESTS=1


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org