Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Big Data Hadoop & Spark by (6.5k points)

Can anyone tell me how to run the Spark Java program?

1 Answer

0 votes
by (11.3k points)

The following command template is used to run JARs via the Spark framework:

./bin/spark-submit \
--class <main-class> \
--master <master-url> \
--deploy-mode <deploy-mode> \
--conf <key>=<value> \
... # other options
<application-jar> \
[application-arguments]

If you are looking for an online course to learn Spark, check out this Spark Certification program by Intellipaat.

Browse Categories

...