Pyspark issue in Jupyter

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Pyspark issue in Jupyter

tmmet
This post has NOT been accepted by the mailing list yet.

Hi,

I have pyspark kernel setup and was able to see and use the kernel in JupyterHub.

However, when I run the below code , I get the below error. Could anyone please let me know why I'm getting this error.

Below is the line I have in Jupyter Notebook File.

print(sc)
I'm getting the below error.


NameError: name 'sc' is not defined

Any help would be greatly useful.

Thanks!
Loading...