July 2017
Intermediate to advanced
796 pages
18h 55m
English
Once a Spark application is bundled as either a jar file (written in Scala or Java) or a Python file, it can be submitted using the Spark-submit script located under the bin directory in Spark distribution (aka $SPARK_HOME/bin). According to the API documentation provided in Spark website (http://spark.apache.org/docs/latest/submitting-applications.html), the script takes care of the following:
In a nutshell, Spark job submission syntax is as follows:
$ spark-submit [options] <app-jar | python-file> [app arguments] ...
Read now
Unlock full access