You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@toree.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/11/20 17:47:00 UTC

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

    [ https://issues.apache.org/jira/browse/TOREE-443?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16259544#comment-16259544 ] 

ASF GitHub Bot commented on TOREE-443:
--------------------------------------

GitHub user sanjay-saxena opened a pull request:

    https://github.com/apache/incubator-toree/pull/147

    Support for --spark-context-initialization-timeout command-line option

    This change addresses TOREE-443. Instead of hardcoding the
    timeout to 100ms, --spark-context-initialization-timeout
    command-line option has been introduced to make it configurable.
    On slow/busy nodes, an appropriate timeout can be specified
    to avoid the confusing messages in the notebook UI. Added
    unit tests to CommandLineOptionsSpec.scala.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sanjay-saxena/incubator-toree configurable-kernel-execution-timeout

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-toree/pull/147.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #147
    
----
commit 0cb32a98fae08a8eae3575c1bc6f9e080bc59aca
Author: Sanjay Saxena <sa...@gmail.com>
Date:   2017-11-15T21:52:30Z

    Support for --spark-context-initialization-timeout command-line option
    
    This change addresses TOREE-443. Instead of hardcoding the
    timeout to 100ms, --spark-context-initialization-timeout
    command-line option has been introduced to make it configurable.
    On slow/busy nodes, an appropriate timeout can be specified
    to avoid the confusing messages in the notebook UI. Added
    unit tests to CommandLineOptionsSpec.scala.

----


> 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)