首页 > 其他分享 >PySpark - Study Notes 1

PySpark - Study Notes 1

时间:2025-01-17 21:48:31浏览次数:1  
标签:26 01 17 PySpark Study ServerApp 2025 12 Notes

 

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

相关文章

  • DuckDB - Study Notes 11
      (zpy310)frank@ZZHUBT:~$pipinstallduckdb(zpy310)frank@ZZHUBT:~$pipinstallharlequin......SuccessfullyinstalledMarkupSafe-3.0.2click-8.1.8harlequin-1.25.2jinja2-3.1.5linkify-it-py-2.0.3markdown-it-py-3.0.0mdit-py-plugins-0.4.2m......
  • DuckDB - Study Notes 8
         pi_relation=duckdb.sql("SELECTpi()ASpi")type(pi_relation)#duckdb.duckdb.DuckDBPyRelation pi_relation.show() ┌───────────────────┐│pi││double│├─────────......
  • Markdown-study
    Markdown-study标题一级标题一个#二级标题两个#三级标题三个#字体粗体左右两个*斜体左右一个*横线左右两个~引用一个>+空格即可分割线三个-或者三个*图片![图片](路径)超链接点击跳转列表数字+空格B减-+空格B表格右键插入即可......
  • DuckDB - Study Notes 6
      DuckDB’snesteddatatypes:LIST, MAP,andSTRUCT. DSELECT[7,8,9]ASlist_int;┌───────────┐│list_int││int32[]│├───────────┤│[7,8,9]│└───────────┘ DSELECT['Quantumof......
  • DuckDB - Study Notes 5
     DSELECT*FROMduckdb_extensions();┌──────────────────┬─────────┬───────────┬──────────────┬───┬───────────────────┬───────────────────┬───────......
  • 安装 php 开发环境(基于 php study)
    目录安装 php 开发环境(基于 phpstudy)创建简单博客示例代码下载 phpstudy:可以从官网(xp.cn)下载,也可以在内网(如提到的 6.100)下载,或者使用已提供的安装包。安装过程:双击安装包,若电脑有 D 盘且无特殊需求,默认安装路径为 D:\phpstudy;若没有 D 盘,则需将路径......
  • 计算机毕业设计Python深度学习游戏推荐系统 Django PySpark游戏可视化 游戏数据分析
    温馨提示:文末有CSDN平台官方提供的学长联系方式的名片!温馨提示:文末有CSDN平台官方提供的学长联系方式的名片!温馨提示:文末有CSDN平台官方提供的学长联系方式的名片!作者简介:Java领域优质创作者、CSDN博客专家、CSDN内容合伙人、掘金特邀作者、阿里云博客专家、51CTO......
  • DuckDB - Study Notes 4
         blockrangeindex,BRIN   adaptiveradixtree,ART Todownloadthenecessarydatasetforthisproject,pleasefollowtheseinstructions:1.Gotohttps://www.kaggle.com/datasets/mohamedbakhet/amazon-books-reviews.2.ClickontheDown......
  • DuckDB - Study Notes 3
        DataWrangling CREATEORREPLACETABLEweb_log_text(raw_textVARCHAR); COPYweb_log_textFROM'access.log'(DELIM''); SELECTregexp_extract(raw_text,'^[0-9\.]*')ASclient_ipFROMweb_log_textLIM......
  • @Notes:将整数转为excel对应的列标
    /**@Notes:将整数转为excel对应的列标@Functionint_to_chr@param$index@param$start@returnstring@Authorgxk@Date2024/10/16@Time17:53*/functionint_to_chr($index,$start=65){$str='';if($index>=26){weibow.com$les=$index%26;$index......