Hi, I am trying to complile the following code on PyCharm:
from pyspark import SparkConf, SparkContext
sc = SparkContext(master=“local”, appName=“Spark Demo”)
However I got the following issue:
Unused import statement ‘SparkConf’
Does anybody knows the reason and could help me out please?
Learn Spark 1.6.x or Spark 2.x on our state of the art big data labs
- Click here for access to state of the art 13 node Hadoop and Spark Cluster