Spark-shell command not working in cygwin


#1

Hi

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
export PATH=$PATH:$SPARK_HOME/bin:$SPARK_HOME/sbin

when i try to launch spark-shell in cygwin.

I got this error


#2

Can you please check this path it might be wrong.


#3

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?


#4

Hi

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

I got this error


#5

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.


#6

ok
thank you so much for your response durga sir


#7