Pyspark内核未在Jupyterhub上启动
Jupyterhub Pyspark内核过去工作得很好,但现在不会启动,或者将处于内核连接状态(不会变为空闲),但不会在单元格中运行任何代码。它正在Centos上使用带有PAM auth的localprocess spawner。在jupyterhub日志中,我们看到以下消息:Pyspark内核未在Jupyterhub上启动,pyspark,jupyterhub,Pyspark,Jupyterhub,Jupyterhub Pyspark内核过去工作得很好,但现在不会启动,或者将处于内核连接状态(不会变为空闲),但不会在单元格中运行任何代码。它正在Centos上使用带有PAM auth的localprocess spawner。在jupyterhub日志中,我们看到以下消息: [I 2020-03-10 15:13:08.644 SingleUserNotebookApp restarter:110] KernelRestarter: restarting kernel (4/5), new
[I 2020-03-10 15:13:08.644 SingleUserNotebookApp restarter:110] KernelRestarter: restarting kernel (4/5), new random ports
Assertion failed: rc == 0 (src/socket_poller.cpp:41)
[W 2020-03-10 15:13:11.666 SingleUserNotebookApp restarter:100] KernelRestarter: restart failed
[W 2020-03-10 15:13:11.666 SingleUserNotebookApp kernelmanager:127] Kernel 0148c77d-143a-4721-90e7-0d9a41a878c4 died, removing from map.
有什么想法吗?通过在基本conda环境中重新安装sparkmagic解决了这一问题:
(基本)[root@]#pip安装sparkmagic