New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notebook (kernel) not starting up in yarn-client mode #735
Comments
I have the same issue: ! @7334hk13d - Internal server error, for (POST) [/api/kernels/c1bdaf31-12cc-4b9 play.api.Application$$anon$1: Execution exception[[NoSuchElementException: key n |
we used spark-notebook (SN) with YARN without any problems. but it was I can't comment about yarn-cluster mode, as I personally didn't test in yarn cluster mode (not worth it, harder to debug/view logs, kill applications, etc). here's subset of sample config: export HADOOP_USER_NAME=someuser
# optional depending on network configuration - executors MUST reach driver (i.e. SN)
# export SPARK_LOCAL_IP=x.x.x.x # needed this
# export SPA_PUBLIC_DNS=notebook.some.com
export LD_LIBRARY_PATH=/usr/lib/hadoop/lib/native/
export HADOOP_CONF_DIR=/etc/hadoop/conf:/etc/hive/conf
./bin/spark-notebook \
-Dmanager.tachyon.enabled=false \
-Dmanager.kernel.autostartOnNotebookOpen=true \
-Dmanager.notebooks.override.sparkConf.spark.port.maxRetries=100 \
-Dmanager.notebooks.override.sparkConf.spark.dynamicAllocation.initialExecutors=1 \
-Dmanager.notebooks.override.sparkConf.spark.dynamicAllocation.minExecutors=0 \
-Dmanager.notebooks.override.sparkConf.spark.serializer=org.apache.spark.serializer.KryoSerializer \
-Dmanager.notebooks.override.sparkConf.spark.rdd.compress=true and append something like this to cluster conf / (i.e. seen at notebook -> edit metadata )
|
We use spark notebook 0.63 with spark 1.6.1.
Under certain cirumstances (which I cannot reproduce yet), our notebooks (running as yarn-client) won't start up.
In the notebook, it says
Kernel starting, please wait
.In the logfile there are just these lines:
In the log of the notebook server, I don't see anything suspicious:
The process seems to be waiting for something, but I cannot figure out what it is (the driver machine is not under heavy load, there are plenty of free executors...).
Any hint what to do to solve this?
The text was updated successfully, but these errors were encountered: