frank@ZZHUBT:~$ docker pull jupyter/pyspark-notebook
docker run --name pyspark-notebook -p 8888:8888 -v ~/dkvols/pyspark-notebook/:/home/jovyan/work/ -d jupyter/pyspark-notebook:latest
frank@ZZHUBT:~$ docker logs pyspark-notebook Entered start.sh with args: jupyter lab Running hooks in: /usr/local/bin/start-notebook.d as uid: 1000 gid: 100 Done running hooks in: /usr/local/bin/start-notebook.d Running hooks in: /usr/local/bin/before-notebook.d as uid: 1000 gid: 100 Sourcing shell script: /usr/local/bin/before-notebook.d/spark-config.sh Done running hooks in: /usr/local/bin/before-notebook.d Executing the command: jupyter lab [I 2025-01-17 12:26:41.343 ServerApp] Package jupyterlab took 0.0000s to import [I 2025-01-17 12:26:41.349 ServerApp] Package jupyter_lsp took 0.0053s to import [W 2025-01-17 12:26:41.349 ServerApp] A `_jupyter_server_extension_points` function was not found in jupyter_lsp. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server. [I 2025-01-17 12:26:41.349 ServerApp] Package jupyter_server_mathjax took 0.0006s to import [I 2025-01-17 12:26:41.352 ServerApp] Package jupyter_server_terminals took 0.0025s to import [I 2025-01-17 12:26:41.368 ServerApp] Package jupyterlab_git took 0.0152s to import [I 2025-01-17 12:26:41.369 ServerApp] Package nbclassic took 0.0013s to import [W 2025-01-17 12:26:41.370 ServerApp] A `_jupyter_server_extension_points` function was not found in nbclassic. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server. [I 2025-01-17 12:26:41.371 ServerApp] Package nbdime took 0.0000s to import [I 2025-01-17 12:26:41.371 ServerApp] Package notebook took 0.0000s to import [I 2025-01-17 12:26:41.372 ServerApp] Package notebook_shim took 0.0000s to import [W 2025-01-17 12:26:41.372 ServerApp] A `_jupyter_server_extension_points` function was not found in notebook_shim. Instead, a `_jupyter_server_extension_paths` function was found and will be used for now. This function name will be deprecated in future releases of Jupyter Server. [I 2025-01-17 12:26:41.373 ServerApp] jupyter_lsp | extension was successfully linked. [I 2025-01-17 12:26:41.376 ServerApp] jupyter_server_mathjax | extension was successfully linked. [I 2025-01-17 12:26:41.380 ServerApp] jupyter_server_terminals | extension was successfully linked. [I 2025-01-17 12:26:41.383 ServerApp] jupyterlab | extension was successfully linked. [I 2025-01-17 12:26:41.383 ServerApp] jupyterlab_git | extension was successfully linked. [I 2025-01-17 12:26:41.385 ServerApp] nbclassic | extension was successfully linked. [I 2025-01-17 12:26:41.385 ServerApp] nbdime | extension was successfully linked. [I 2025-01-17 12:26:41.388 ServerApp] notebook | extension was successfully linked. [I 2025-01-17 12:26:41.389 ServerApp] Writing Jupyter server cookie secret to /home/jovyan/.local/share/jupyter/runtime/jupyter_cookie_secret [I 2025-01-17 12:26:41.508 ServerApp] notebook_shim | extension was successfully linked. [I 2025-01-17 12:26:41.544 ServerApp] notebook_shim | extension was successfully loaded. [I 2025-01-17 12:26:41.546 ServerApp] jupyter_lsp | extension was successfully loaded. [I 2025-01-17 12:26:41.546 ServerApp] jupyter_server_mathjax | extension was successfully loaded. [I 2025-01-17 12:26:41.547 ServerApp] jupyter_server_terminals | extension was successfully loaded. [I 2025-01-17 12:26:41.548 LabApp] JupyterLab extension loaded from /opt/conda/lib/python3.11/site-packages/jupyterlab [I 2025-01-17 12:26:41.548 LabApp] JupyterLab application directory is /opt/conda/share/jupyter/lab [I 2025-01-17 12:26:41.549 LabApp] Extension Manager is 'pypi'. [I 2025-01-17 12:26:41.551 ServerApp] jupyterlab | extension was successfully loaded. [I 2025-01-17 12:26:41.553 ServerApp] jupyterlab_git | extension was successfully loaded. [I 2025-01-17 12:26:41.555 ServerApp] nbclassic | extension was successfully loaded. [I 2025-01-17 12:26:41.587 ServerApp] nbdime | extension was successfully loaded. [I 2025-01-17 12:26:41.589 ServerApp] notebook | extension was successfully loaded. [I 2025-01-17 12:26:41.589 ServerApp] Serving notebooks from local directory: /home/jovyan [I 2025-01-17 12:26:41.589 ServerApp] Jupyter Server 2.8.0 is running at: [I 2025-01-17 12:26:41.589 ServerApp] http://620453e8d667:8888/lab?token=3c8b85083b99572408a3f51d6f23eb8d591c3434130c5f3c [I 2025-01-17 12:26:41.589 ServerApp] http://127.0.0.1:8888/lab?token=3c8b85083b99572408a3f51d6f23eb8d591c3434130c5f3c [I 2025-01-17 12:26:41.589 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). [C 2025-01-17 12:26:41.591 ServerApp] To access the server, open this file in a browser: file:///home/jovyan/.local/share/jupyter/runtime/jpserver-7-open.html Or copy and paste one of these URLs: http://620453e8d667:8888/lab?token=3c8b85083b99572408a3f51d6f23eb8d591c3434130c5f3c http://127.0.0.1:8888/lab?token=3c8b85083b99572408a3f51d6f23eb8d591c3434130c5f3c [I 2025-01-17 12:26:41.872 ServerApp] Skipped non-installed server(s): bash-language-server, dockerfile-language-server-nodejs, javascript-typescript-langserver, jedi-language-server, julia-language-server, pyright, python-language-server, python-lsp-server, r-languageserver, sql-language-server, texlab, typescript-language-server, unified-language-server, vscode-css-languageserver-bin, vscode-html-languageserver-bin, vscode-json-languageserver-bin, yaml-language-server
标签:26,01,17,PySpark,Study,ServerApp,2025,12,Notes From: https://www.cnblogs.com/zhangzhihui/p/18677688