Spark-shell command not working in cygwin


spark-shell command not working in cygwin

I added two export statement in .profile file and .bash_profile

export SPARK_HOME=/cygdrive/cygwin/home/Lenova/spark

when i try to launch spark-shell in cygwin.

I got this error

Can you please check this path it might be wrong.

Thank you so much for the quick response vinod

In my Windows PC my spark system file in this location C:\cygwin\home\Lenovo

I added two export statement in this path C:\cygwin\home\Lenovo as well

but still I got same error

I am stuck up in this spark-shell command.

ASAP possible can you explain the path specification in detail?


I gave a path /cygdrive/c/cygwin/home/Lenovo/spark-1.6.3-bin-hadoop2.6

I got this error

You have to run spark-shell.cmd

Pyspark throws some other issue. I will get the solution.
These are not show stoppers at this time.

1 Like

thank you so much for your response durga sir