Wednesday, March 15, 2017

How to run Scala or Python scripts in Spark

How to run Python script in Spark?
$ spark-submit test.py

How to run scala script in Spark?
$ spark-shell -i test.scala

No comments:

Post a Comment