September 2018
Intermediate to advanced
398 pages
9h 43m
English
Using a console, go to the Spark distribution's bin folder, and run spark-submit with the path of the assembly JAR:
cd ~/spark-2.3.1-bin-hadoop2.7/bin./spark-submit /tmp/sbt/bitcoin-analyser/scala-2.11/bitcoin-analyser-assembly-0.1.jar
spark-submit has lots of options that let you change the Spark master, the number of executors, their memory requirements, and so on. You can find out more by running spark-submit -h. After having submitted our JAR, you should see something like this in your console (we only show the most important parts):
(...)2018-09-07 07:55:27 INFO SparkContext:54 - Running Spark version 2.3.12018-09-07 07:55:27 INFO SparkContext:54 - Submitted application: coinyser.BatchProducerAppSpark(...)2018-09-07 ...
Read now
Unlock full access