I am working on a lab assignment to follow an online tutorial, reference link, https://sparkbyexamples.com/
When I replicate the following attached screenshot below:
Tutorial Screenshot
I receive the following error message in Spark-shell, please see the attached second screenshot below:
Second Screenshot
There are two highlighted sections: 1- the first section I was able to resolve by making the following changes ‘, ’ to ‘ ; ‘ and ‘ = ‘ to ‘ ; ‘
2- the section section, I could not pin point the error
Please advise
Thanks, Fabio