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
1.4m articles
1.4m replys
5 comments
57.0k users