jupyter-server / enterprise_gateway

A lightweight, multi-tenant, scalable and secure gateway that enables Jupyter Notebooks to share resources across distributed clusters such as Apache Spark, Kubernetes and others.
https://jupyter-enterprise-gateway.readthedocs.io/en/latest/
Other
615 stars 221 forks source link

3.1.0 - Python and R Spark kernel images won't start #1216

Closed kevin-bates closed 1 year ago

kevin-bates commented 1 year ago

The elyra/kernel-spark-py:3.1.0 and elyra/kernel-spark-r:3.1.0 images fail to start due to the following:

$ docker run -it --rm elyra/kernel-spark-py:3.1.0 bash
++ id -u
+ myuid=1000
++ id -g
+ mygid=100
+ set +e
++ getent passwd 1000
+ uidentry=jovyan:x:1000:100::/home/jovyan:/bin/bash
+ set -e
+ '[' -z jovyan:x:1000:100::/home/jovyan:/bin/bash ']'
+ SPARK_CLASSPATH=':/opt/spark/jars/*'
+ env
+ sort -t_ -k4 -n
+ sed 's/[^=]*=\(.*\)/\1/g'
+ grep SPARK_JAVA_OPT_
+ readarray -t SPARK_EXECUTOR_JAVA_OPTS
+ '[' -n '' ']'
+ '[' -z ']'
+ '[' -z ']'
+ '[' -n '' ']'
+ '[' -z ']'
+ '[' -z ']'
+ '[' -z x ']'
+ SPARK_CLASSPATH='/opt/spark/conf::/opt/spark/jars/*'
+ case "$1" in
+ echo 'Non-spark-on-k8s command provided, proceeding in pass-through mode...'
Non-spark-on-k8s command provided, proceeding in pass-through mode...
+ CMD=("$@")
+ exec /usr/bin/tini -g -- bash
/opt/entrypoint.sh: line 105: /usr/bin/tini: No such file or directory
Troubleshoot Output
Paste the output from running `jupyter troubleshoot` from the command line here.
You may want to sanitize the paths in the output.
Command Line Output
Paste the output from your command line running `jupyter lab` here, use `--debug` if possible.
Browser Output
Paste the output from your browser Javascript console here, if applicable.