When I open and Run the spark-shell command, and type the following
scala>val data = 1 to 100
scala> val distData = sc.parallelize(data)
I get the following error:
:19: error: not found: value sc
I tried importing the apache libraries, but not able to solve the issue.
I have the latest version of java, maven and scala installed on my system (WIndows 10) and all the class paths are set appropriately
Your help is required.