karthik
fac2f6661e
- Use native gradle build to generate jar with dependencies, removed shadowJar plugin
- Upgrade gradle to 6.7.1
Spark Boilerplate
This is a boilerplate project for Apache Spark. The related blog post can be found at https://www.barrelsofdata.com/spark-boilerplate-using-scala
Build instructions
From the root of the project execute the below commands
- To clear all compiled classes, build and log directories
./gradlew clean
- To run tests
./gradlew test
- To build jar
./gradlew build
- All combined
./gradlew clean test build
Run
spark-submit --master yarn --deploy-mode cluster build/libs/spark-boilerplate-1.0.jar
Description
Languages
Scala
100%