For a different Spark version or compiling latest code
If you need to compile the latest code or build for a different Spark version, you can clone this repoarrow-up-right and
Install maven
Install JDK 1.8
Set JAVA_HOME to JDK base directory
JAVA_HOME
Install Apache Spark (version spark-3.5.0-bin-hadoop3)
Set SPARK_HOME as path to location of Apache Spark
SPARK_HOME
Set SPARK_MASTER as local[*]
SPARK_MASTER
Run the following: mvn clean install -U -> mvn initialize -> mvn clean compile package
mvn clean install -U
mvn initialize
mvn clean compile package
Last updated 11 days ago
Was this helpful?