我在AWS EMR上运行了一个电火花集群,并将木星用于火花放电驱动程序。最近,脚本失败了。木星无法启动服务器。我用conda install jupyter安装,从sudo initctl start jupyter开始。集群运行良好。以下是服务器的配置值。
# jupyter configs
mkdir -p ~/.jupyter
touch ls ~/.jupyter/jupyter_notebook_config.py
HASHED_PASSWORD=$(python -c "from notebook.auth import passwd;
print(passwd('$JUPYTER_PASSWORD'))")
echo "c.NotebookApp.password = u'$HASHED_PASSWORD'" >> ~/.jupyter/jupyter_notebook_config.py
echo "c.NotebookApp.open_browser = False" >> ~/.jupyter/jupyter_notebook_config.py
echo "c.NotebookApp.ip = '*'" >> ~/.jupyter/jupyter_notebook_config.py
echo "c.NotebookApp.notebook_dir = '/mnt/$BUCKET/$FOLDER'" >> ~/.jupyter/jupyter_notebook_config.py
echo "c.ContentsManager.checkpoints_kwargs = {'root_dir': '.checkpoints'}" >> ~/.jupyter/jupyter_notebook_config.py
echo "c.NotebookApp.port = 8080" >> ~/.jupyter/jupyter_notebook_config.py发布于 2018-10-08 16:08:36
我发现更新后更新到了5.7。我必须修改配置参数。变化
echo "c.NotebookApp.ip = '*'" >> ~/.jupyter/jupyter_notebook_config.py至
echo "c.NotebookApp.ip = '0.0.0.0'" >> ~/.jupyter/jupyter_notebook_config.pyhttps://stackoverflow.com/questions/52706238
复制相似问题