Back
I am using CDH 5.2. I am able to use spark-shell to run the commands.
How can I run the file(file.spark) which contain spark commands.
In the command line, you can use
spark-shell -i file.scala
This will run the code that is present in file.scala
If you want to know more about Spark, then do check out this awesome video tutorial:
31k questions
32.8k answers
501 comments
693 users