[ 
https://issues.apache.org/jira/browse/TOREE-495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16789705#comment-16789705
 ] 

Stanislav Kokaisl commented on TOREE-495:
-----------------------------------------

[~lresende] We use Jupyterhub server on Kubernetes cluster and each user has 
own pod instance with jupyter notebook spawned by Kubespawner. My idea is to 
store dependencies permanently on user Kubernetes Persistent Volume Claim, thus 
the user must not download the dependencies again on kernel restart.

Currently the AddDeps magics stores dependencies in temporary directory, which 
is deleted on kernel stop. I found DEPS_DIR environment variable used in 
reference.conf file, which changes the dependencies location path during Toree 
build. Is that correct?

So the new deps-dir option allows us to handle dependencies directory without 
building Toree. Or do you think, there is better way how to solve our issue?

> Add deps-dir option to toree configuration options
> --------------------------------------------------
>
>                 Key: TOREE-495
>                 URL: https://issues.apache.org/jira/browse/TOREE-495
>             Project: TOREE
>          Issue Type: Improvement
>            Reporter: Stanislav Kokaisl
>            Priority: Major
>
> It would be helpful to have option, where are dependencies stored with 
> AddDeps magic. Currently there is only {{jar-dir option for AddJar magic.}}
> {{We create new deps-dir attribute for toree_opts. This option can be then 
> used in install command:}}
> {code:java}
> jupyter toree install --toree_opts="--deps-dir=/path/to/deps"{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to