Github user adamosloizou commented on the pull request:
https://github.com/apache/spark/pull/1230#issuecomment-47525376
@ScrapCodes thanks for the feedback! I think the original issue was about
offering a behaviour similar to the vanilla scala REPL. The `standardCommands`
that you suggested are used with a `:` prepended such as `:quit`.
The idea was to offer the scala REPL `exit` functionality (notice the lack
of `:`) while also stopping the Spark context.
I could add the quit too if you want but that is not part of the default
scala REPL behavior:
```
scala> quit
<console>:8: error: not found: value quit
quit
^
scala> :quit
[success] Total time: 170 s, completed 30-Jun-2014 14:25:50
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---