3

I installed java scala 2.11.6 and 7 his works but when I type spark-shell it says command not found.

enter image description here

9
  • 4
    Can you explain why you are reposting this only three hours after you already posted a nearly-identical question already, rather than editing the older question you already posted? – Thomas Ward Sep 2 '16 at 0:26
  • 4
    Please do not repost questions; instead, use the edit feature to edit your question so you can add information or such. Reposting the same question multiple times does not help at all, and in fact can be considered destructive or rude . I have closed your older question as a duplicate of this one, but next time, just edit your question instead of reposting. – Thomas Ward Sep 2 '16 at 0:39
  • Can you give the results of: find $HOME -iname spark-shell ? If no result from this command try this one as well: sudo find /usr -iname spark-shell – andrew.46 Sep 2 '16 at 2:28
  • I would like to help, but need responses to the questions already asked by andrew46 and the others. – L. D. James Sep 2 '16 at 8:22
  • @L.D.James find $HOME -iname spark-shell ome/m1/workspace/spark-1.6.1 (2)/spark-1.6.1/bin/spark-shell /home/m1/workspace/spark-1.6.1/bin/spark-shell /home/m1/workspace/spark-2.0.0-bin-hadoop2.6/bin/spark-shell /home/m1/.local/share/Trash/files/spark-1.6.1-bin-hadoop2 (copy).6/bin/spark-shell /home/m1/.local/share/Trash/files/spark-1.6.1/bin/spark-shell – lyly Sep 2 '16 at 12:53
0

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...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.