I am using CDH 5.2. I am able to use spark-shell to run the commands.
Thanks in advance
In command line, you can use
spark-shell -i file.scala
to run code which is written in file.scala
file.scala
2.1m questions
2.1m answers
60 comments
57.0k users