Command to start and stop the spark in interactive shell ?
-
-
What is the command to start and stop the spark in interactive shell ?
-
Command to start the interactive shell in Scala:
>>>>bin/spark-shell
First go the spark directory i.e.
hdadmin@ubuntu:~$ cd spark-1.6.1-bin-hadoop2.6/
hdadmin@ubuntu:~/spark-1.6.1-bin-hadoop2.6$ bin/spark-shell
——————————————————————————————————————————
Command to stop the interactive shell in Scala:
scala>Press (Ctrl+D)
One can see the following message
scala> Stopping spark context.
For more details refer to http://data-flair.training/blogs/apache-spark-installation-on-multi-node-cluster-step-by-step-guide/
- You must be logged in to reply to this topic.