IBM Bluemix sc not defined
问题 I am getting the following error when I try to run one of the samples that is given for the Apache Spark service on IBM Bluemix: NameErrorTraceback (most recent call last) <ipython-input-5-7de9805c358e> in <module>() ----> 1 set_hadoop_config(credentials_1) <ipython-input-2-e790e4773aec> in set_hadoop_config(credentials) 1 def set_hadoop_config(credentials): 2 prefix = "fs.swift.service." + credentials['name'] ----> 3 hconf = sc._jsc.hadoopConfiguration() 4 hconf.set(prefix + ".auth.url",