Questions tagged [jupyterhub]

JupyterHub is the best way to serve Jupyter notebook for multiple users.It is a multi-user Hub that spawns, manages, and proxies multiple instances of the single-user Jupyter notebook server.

The Jupyter Notebook

The Jupyter Notebook is an open-source web application that allows you to create and share documents that contain live code, equations, visualizations and narrative text. Uses include: data cleaning and transformation, numerical simulation, statistical modeling, data visualization, machine learning, and much more.

669 questions
0
votes
0 answers

I could not access jupyterhub locally

I have a docker image (jupyterhub)running locally. when I try in browser localhost:8000 i get site can't reach issue. docker ps shows; Here is teh jupyterhub dockerimages' logs; ratha$ docker run -p 8000:8000 856b48323ac4 I 2019-09-17 00:40:38.690…
Ratha
  • 9,434
  • 17
  • 85
  • 163
0
votes
1 answer

dockerized java application access a monetdb database which has been deploied on a jupyterhub via docker

There is a monetdb docker deployed on the jupyterhub, I'm developing a Java application which will use the data from the database on the jupyterhub. Is there a way to write in the code to make the access to the database via internet, so that users…
Wei
  • 1
  • 1
0
votes
1 answer

Jupyterhub unable to add modules directory

I need to add custom directory for Jupyterhub so the users can import python modules installed using pip. We have an offline server running Jupyterhub. I loaded new docker image onto this server (docker image contains new python packages installed…
0
votes
0 answers

How can I run a flask in an account in the jupyter hub?

I want to use flask in jupyter hub. So when I looked at the relationship between jupyter hub and flask, I found something that I had to set up…
이성령
  • 1,264
  • 3
  • 19
  • 23
0
votes
1 answer

Python Traitlets error in validate_elements running JupyterHub

After making seemingly unrelated changes and redeploying JupyterHub to OpenShift, I'm seeing a new error in the log from the pod, which blocks JupyterHub from spawning a notebook. The configuration file did not change. The curious thing about the…
Adam Wise
  • 2,043
  • 20
  • 17
0
votes
1 answer

Adding SAML to JupyterHub Kubernetes deployment with custom docker image

I need to use SAML to authenticate users to JupyterHub however I don't know how to modify the jupyterhub/k8s-hub docker image to do so. I know that I need to open the docker image, modify the config then create a new image. Then host this image in…
0
votes
1 answer

Get current notebook/user context from JupyterHub notebook server?

I'm running JupyterHub 0.8.2 on AWS EKS cluster. I would like to know if it is possible to retrieve the owner of the current notebook server. E.g. Let's assume I navigate to myjupyterhubhost.com/user/john-doe/notebooks/SampleNotebook.ipynb In…
James Wierzba
  • 16,176
  • 14
  • 79
  • 120
0
votes
1 answer

Get URL from access logs for AWS classic ELB that listens over TCP?

I am running an application with a client and server component in AWS. The client talks to the server over a classic ELB. Specifically, I am running JupyterHub that is deployed to a managed kubernetes cluster (EKS). My requirement: get HTTP logs…
0
votes
2 answers

JupyterHub server is unable start in Terraformed EMR cluster running in private subnet

I'm creating an EMR cluster (emr-5.24.0) with Terraform, deployed into a private subnet, that includes Spark, Hive and JupyterHub. I've added an additional configuration JSON to the deployment, which should add persistency for the Jupiter notebooks…
0
votes
0 answers

How to set a specific port for single-user Jupyterhub server REST API calls?

I have setup Spark SQL on Jypterhub using Apache Toree SQL kernel. I wrote a Python function to update Spark configuration options in the kernel.json file for my team to change configuration based on their queries and cluster configuration. But I…
0
votes
1 answer

Unable to connect JupyterHub on EMR

I have created EMR cluster (5.23.0) with JupyterHub. I create ssh tunnel to 9443 on master node. However, I am not able to connect to JupyterHub, the page does not resolve.Any ideas what is missing?
gorros
  • 1,411
  • 1
  • 18
  • 29
0
votes
0 answers

Jupyterhub for local network users

I am new to the jupyterhub framework so I would appreciate some help with how to go about this - I have a script running on my local machine on some data (also stored locally). Example case: sales forecasts for different stores. I use jupyter…
0
votes
1 answer

How to start a notebook server in Jupyter Hub using its REST APIs?

I want to start a notebook server on my Jupyter Hub as described here and to get started, even the basic command that I am following is not working. I want to make a normal request using my token as mentioned here. My code is: import requests token…
0
votes
0 answers

Unable to launch a single user using REST api

I am using JuPyter hub on K8s. I went through the documentation and had a look at the APIs. Now, I want to use one to start a pod. However, I am unable to start one using this post. What would be the curl request for this POST request? I have tried…
Aviral Srivastava
  • 4,058
  • 8
  • 29
  • 81
0
votes
1 answer

How to pass argument for a configuration file in JuPyterhub's deployment?

I want to install envkey in my docker image which requires a key-value pair. I have the key-value pair with me but I am unable to figure out as to how do I install it in my docker image using those arguments and then deploy the same on jupyterhub. I…