Closed amangarg96 closed 6 years ago
Hi @amangarg96, I'm sorry that you are having difficulty with your configuration. Since you have an open issue on the Kernel Gateway repo https://github.com/jupyter/enterprise_gateway/issues/448, I am closing here as that repo would be the best place for this configuration question. Thanks.
hey bro,i wanna know your steps on details,can you help me?
@Kriszhou1 Issue #435 mentions my steps for setting up Jupyter Enterprise Gateway along with the Jupyter Notebook configurations, And with JupyterHub, I configure the Notebook spawner to launch Jupyter Notebook server with the same configurations. Let me know the steps you need help with
I'm trying to integrate JupyterHub with Jupyter Enterprise Gateway to launch remote IPython kernels on YARN.
Setup:
Server1 (JupyterHub and Jupyter Notebook server/Jupyter Lab) This server hosts the Jupyter Hub which spawns the single-user Notebook servers locally (on server 1) itself.
Server2 (Jupyter Enterprise Gateway) Jupyter Enterprise Gateway is launched here, which launches kernels on the Spark Cluster.
The Jupyter Notebook Server interacts with the JEG using nb2kg extension, and JEG launches (is intended to launch) kernels on the Apache Spark Cluster.
The Jupyter Notebook Server's interaction with the JEG is mentioned in #435, which is working and has been tested.
jupyterhub_config.py:
jupyter_notebook_config.py:
First, the Jupyter Enterprise Gateway was launched using
jupyter enterprisegateway --ip=*
Then, JupyterHub was launched using
jupyterhub --ip=* --port=8080 -f /home/aman.garg/jupyterhub_config.py
Stack trace from Jupyterhub: