Dear Users,

I'm a newbie, trying to get spark-shell using kali linux OS, but getting error - "spark-shell: command not found"

I'm running on Kali Linux 2 (64bit)

I followed several tutorial including:
https://www.tutorialspoint.com/apache_spark/apache_spark_installation.htm
https://www.youtube.com/watch?v=wo8Q_j8bnQU

Scala (2.11.8), python (2.7), Java (1.8.0_111), spark (1.6.3) are available in /usr/local/

I have amended the "bashrc" for the paths of above folders & sourced it.

export SCALA_HOME=/root/scala
export PATH=$SCALA_HOME/bin:$PATH

export SCALA_HOME=/root/spark
export PATH=$SPARK_HOME/bin:$PATH

When i run "echo $SCALA_HOME" it shows the path correctly.
but for "echo $SPARK_HOME" its a just empty line prints but no error pops & courser moves to next line.

I tried keeping the files in "/usr/local/" folder too, but same result.
Also i tried with "pyspark", but the same result

Its great if someone can help me on this.


Thanks for your time & effort.
Regards,
kelum