Starting spark with python(launching pyspark)

#1

Hi guys,
I’m in the preparation process of CCA 175, when I’m trying to launch pyspark.
I’m getting an server connection error.

[cloudera@quickstart ~]$ pyspark
[I 17:53:35.635 NotebookApp] The port 8888 is already in use, trying another random port.
[I 17:53:36.405 NotebookApp] Serving notebooks from local directory: /home/cloudera
[I 17:53:36.406 NotebookApp] 0 active kernels
[I 17:53:36.407 NotebookApp] The Jupyter Notebook is running at: http://localhost:8889/
[I 17:53:36.407 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
^C[I 17:53:55.736 NotebookApp] interrupted
Serving notebooks from local directory: /home/cloudera
0 active kernels
The Jupyter Notebook is running at: http://localhost:8889/
Shutdown this notebook server (y/[n])? No answer for 5s: resuming operation…


A coding exception was thrown and uncaught in a Task.

Full message: TypeError: this.Paths is null
Full stack: Agent.write@resource:///modules/sessionstore/SessionWorker.js:196:9
worker.dispatch@resource:///modules/sessionstore/SessionWorker.js:21:24
anonymous/AbstractWorker.prototype.handleMessage@resource://gre/modules/workers/PromiseWorker.js:122:16
@resource:///modules/sessionstore/SessionWorker.js:30:41

Please help me find a solution?

0 Likes

#2

Run on different port jupyter notebook --port=8900

0 Likes