How Do I Launch `Spark-Shell` from the Command Line?
I Installed Java Scala 2.11.6 and 7 His Works but When I Type Spark-Shell It Says Command Not Found. 9 1 Answer the Following Commands Should Work: Cd...
I installed java scala 2.11.6 and 7 his works but when I type spark-shell
it says command not found.
1 Answer
The following commands should work:
cd /home/m1/workspace/spark-1.6.1/bin
./spark-shell
I see that you have other copies of spark-shell here:
/home/m1/workspace/spark-2.0.0-bin-hadoop2.6/bin/spark-shell
/home/m1/Téléchargements/spark-1.6.1/bin/spark-shell
/home/m1/Téléchargements/spark-1.6.1-bin-hadoop2.6/bin/spark-shell
/home/m1/Téléchargements/spark-2.0.0-bin-hadoop2.6/bin/spark-shell
and these can be opened using the same pattern I have given in the first example or even entered into your $PATH for easier access...