Features | Requirements | Installation | Configuration | Getting help | License | Resources
A derived class from systemdspawner which spawning h2o flow.
reference : https://github.com/c2j/h2ospawner/
spawning h2o flow.
This simple project do 2 things:
- override get_args(), add param so that the url matches
'--context_path=/user/%s' % self.user.name
- write a java wrapper which using getopt to convert args style
--arg=val --> -arg val
same as systemdspawner
You can install it from src with:
pip install h2ospawner.zip
You can enable it for your jupyterhub with the following lines in your
jupyterhub_config.py
file
c.JupyterHub.spawner_class = 'h2ospawner.H2OSpawner'
Modify jupyterhub_config.py
file:
c.Spawner.cmd = ['/[somewhere]/h2o.sh', '/[somewhere]/h2o.jar']
In order to avoid slow init of h2o which leads to a timeout err, maybe you should also set timeout a larger value:
c.Spawner.http_timeout = 300 # default value 30
We encourage you to ask questions on the mailing list. You can also participate in development discussions or get live help on Gitter.
We use a shared copyright model that enables all contributors to maintain the copyright on their contributions.
All code is licensed under the terms of the revised BSD license.