[ 
https://issues.apache.org/jira/browse/TOREE-299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Luciano Resende resolved TOREE-299.
-----------------------------------
       Resolution: Duplicate
    Fix Version/s: 0.2.0

> Create spark context lazily to avoid long startup times for the kernel
> ----------------------------------------------------------------------
>
>                 Key: TOREE-299
>                 URL: https://issues.apache.org/jira/browse/TOREE-299
>             Project: TOREE
>          Issue Type: Improvement
>            Reporter: Gino Bustelo
>             Fix For: 0.2.0
>
>
> Currently the options are to start or not start a kernel at startup time. The 
> "not start" option leaves it all to the user.
> I propose that when the kernel is managing the spark context, that is starts 
> it lazily when the user first tries to get a hold of the reference.
> I tried to do this as part of 
> https://github.com/apache/incubator-toree/pull/15 but hit some roadblocks 
> that I did not want to tackle as part of that PR.
> Now that the `sc`is a `def` it can easily be made lazy.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to