You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@toree.apache.org by "Gino Bustelo (JIRA)" <ji...@apache.org> on 2016/04/15 17:29:25 UTC

[jira] [Updated] (TOREE-299) Create spark context lazily to avoid long startup times for the kernel

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

Gino Bustelo updated TOREE-299:
-------------------------------
    Fix Version/s: 0.1.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.1.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.3.4#6332)