Spark

https://spark.apache.org/ https://spark.apache.org/downloads.html

What

“Apache Spark是专为大规模数据处理而设计的快速通用的计算引擎 。现在形成一个高速发展应用广泛的生态系统。”

Feature

Language

Build

Output: a jar should be generated.

sbt

refer to -> https://www.scala-sbt.org/1.x/docs/Hello.html

sbt clean package

(note: sbt udpate may take a long time, use another vpn)

maven

maven clean package

Run

spark-submit --class "My_Class_Name" my_jar_location.jar

refer to -> https://blog.csdn.net/TxyITxs/article/details/105886445

Reference

Fork me on GitHub