diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/quick-start.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/quick-start.md b/docs/quick-start.md index 6236de0e1f..bf643bb70e 100644 --- a/docs/quick-start.md +++ b/docs/quick-start.md @@ -244,6 +244,9 @@ object SimpleApp { } {% endhighlight %} +Note that applications should define a `main()` method instead of extending `scala.App`. +Subclasses of `scala.App` may not work correctly. + This program just counts the number of lines containing 'a' and the number containing 'b' in the Spark README. Note that you'll need to replace YOUR_SPARK_HOME with the location where Spark is installed. Unlike the earlier examples with the Spark shell, which initializes its own SparkContext, |