Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/jquery-ui/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Pyspark内核未在Jupyterhub上启动_Pyspark_Jupyterhub - Fatal编程技术网

Pyspark内核未在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

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 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