
dammeax/jupyterProject to create a docker image for Jupyter Notebook editor tailored for xp team.
Image is based on docker hub anaconda image with python 2.7. Anaconda comes with the following packages installed:
[***]
On top of Anaconda installation the image contains:
The file inputPixiedustJupyterInstall.txt is used to answer to interactie jupyter installation script of pixiedust. Unfortunately, there is no way to install pixiedust without interactions. The only way found up to now is to provide answers via a text file (inputPixiedustJupyterInstall.txt)
The installation script of pixiedust will create a kernel.json file with the following content:
json{ "argv": [ "python", "-m", "ipykernel", "-f", "{connection_file}" ], "display_name": "Python with Pixiedust (Spark 2.2)", "language": "python", "env": { "PIXIEDUST_HOME": "/root/pixiedust", "SCALA_HOME": "/root/pixiedust/bin/scala/scala-2.11.8", "SPARK_HOME": "/opt/spark", "PYTHONPATH": "/opt/spark/python/:/opt/spark/python/lib/py4j-0.10.4-src.zip", "PYTHONSTARTUP": "/opt/spark/python/pyspark/shell.py", "PYSPARK_SUBMIT_ARGS": "--jars /root/pixiedust/bin/cloudant-spark-v2.0.0-185.jar --driver-class-path /root/pixiedust/data/libs/* --master local[10] pyspark-shell", "SPARK_DRIVER_MEMORY": "10G", "SPARK_LOCAL_IP": "127.0.0.1" } }
Fortunately, it rely on environment variables, unfortunately, the kernel.json overwrites environment variables that would have been set previously in the container. To allow docker service to manage spark parameters, we remove the population of the folowing variables:
so they can be set by docker service definition
Added value of Pixie dust:


manifest unknown 错误
TLS 证书验证失败
DNS 解析超时
410 错误:版本过低
402 错误:流量耗尽
身份认证失败错误
429 限流错误
凭证保存错误
来自真实用户的反馈,见证轩辕镜像的优质服务