[ https://issues.apache.org/jira/browse/TOREE-495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16788099#comment-16788099 ]
Luciano Resende commented on TOREE-495: --------------------------------------- [~standa] I thought I was following your use case, untill the moment you mentioned that the --deps-dir would be defined during the installation. To me, %addJar and %addDeps are to add dependencies required to a specific notebook and are transient in the sense that are not always required to everybody, or different users might have different versions, and so on... If you sort of know where these are, and these are always on the same location, why not add the path to Python classpath in the kernelspec? Please feel free to give more details on what issue you are trying to solve by adding the --deps-dir outside from the magic parameters itself. Also, please consider how would this work in a distributed environment (e.g. YARN cluster mode). > 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)