Gino Bustelo created TOREE-299:
----------------------------------

             Summary: 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


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.3.4#6332)

Reply via email to