slac-lcls / jhub2 Goto Github PK
View Code? Open in Web Editor NEWLCLS Jupyterhub deployment
LCLS Jupyterhub deployment
Using Jupyterlab the users jupyter-labhub process (on a psana machine) is not terminate. The kernels are.
The hub uses (via ssh) a SIGTERM to kill the users processes but the jupyter-labhub doesn't exist as it get stuck
in closing sockets.
Not sure if this also happens for classical notebooks.
Currently the ssh spawner use the psana load balanced name. Part of the ssh command is to print the hostname
ti find the proper server name. If something goes wrong we don't know which host the spawner tried.
A possible alternative would be that the spawner is resolving psana to a hostname before the ssh. If something goes wrong the spawner can print which host was tried.
Hi,
it would be nice if there was an easy way to set JUPYTERLAB_DIR or the conda environment the jupyterlab will start in. This would allow installation of labextensions such as the git extension or ipywidgets for interactive plotting.
The current implenentation makes sure not to run a .bashrc before starting the jupyterlab which makes it difficult to make changes to the environment (still possible, but much more ugly than it could be).
A nicer way could be to try to source a .jhubrc if it exists at https://github.com/slac-lcls/jhub2/blob/master/sshspawner.py#L64.
Thanks,
Felix
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.