concept spark in category pyspark

appears as: Spark
Data Analysis with Python and PySpark

This is an excerpt from Manning's book Data Analysis with Python and PySpark.

Finally, while programming PySpark can feel easy and straightforward, managing a cluster can be a little arcane. Spark is a pretty complicated piece of software, and while the code base matured remarkably over the past few years, the days where scaling a 100-machine cluster and manage it as easily as a single node are far ahead. We will cover some of the developer-facing configuration and problems in the Chapter about performance, but for hairier problems, do what I do: befriend your dev ops.

Listing 3.9. Launching a PySpark program without spark defined.
$ spark-submit word_count.py
[...]
Traceback (most recent call last):
  File "/Users/jonathan_rioux/Dropbox/PySparkBook/code/Ch02/word_count.py", line 3, in <module>
    results = (spark
NameError: name 'spark' is not defined
[...]