You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@toree.apache.org by "Sanjay Saxena (JIRA)" <ji...@apache.org> on 2017/11/13 18:12:00 UTC

[jira] [Updated] (TOREE-443) Make delayed kernel execution timeout configurable

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

Sanjay Saxena updated TOREE-443:
--------------------------------
    Description: 
In the *kernel* sub-project's {{org.apache.toree.kernel.api.Kernel.scala}}, when we do the spark context delayed initialization, there is hardcoded wait of 100 ms. This usually works ok, but in slow machines or busy nodes it's not enough and cause confusion to users as it's going to try to initialize the context and display the message on the notebook ui twice.

We should enable users to configure the timeout via an environment variable.

  was:
In kernel.scala, when we do the spark context delayed initialization, there is hardcoded wait of 100 ms. This usually works ok, but in slow machines or busy nodes it's not enough and cause confusion to users as it's going to try to initialize the context and display the message on the notebook ui twice.

we should enable users to configure the timeout via a environment variable.


> Make delayed kernel execution timeout configurable
> --------------------------------------------------
>
>                 Key: TOREE-443
>                 URL: https://issues.apache.org/jira/browse/TOREE-443
>             Project: TOREE
>          Issue Type: Bug
>          Components: Kernel
>            Reporter: Luciano Resende
>            Assignee: Sanjay Saxena
>
> In the *kernel* sub-project's {{org.apache.toree.kernel.api.Kernel.scala}}, when we do the spark context delayed initialization, there is hardcoded wait of 100 ms. This usually works ok, but in slow machines or busy nodes it's not enough and cause confusion to users as it's going to try to initialize the context and display the message on the notebook ui twice.
> We should enable users to configure the timeout via an environment variable.



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