You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@livy.apache.org by "weiwenda (JIRA)" <ji...@apache.org> on 2018/12/21 03:35:00 UTC

[jira] [Commented] (LIVY-544) Statements in a Session must execute one by one which is time-consuming

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

weiwenda commented on LIVY-544:
-------------------------------

this is my resolution https://github.com/apache/incubator-livy/pull/135

> Statements in a Session must execute one by one which is time-consuming
> -----------------------------------------------------------------------
>
>                 Key: LIVY-544
>                 URL: https://issues.apache.org/jira/browse/LIVY-544
>             Project: Livy
>          Issue Type: Improvement
>          Components: REPL
>    Affects Versions: 0.5.0
>            Reporter: weiwenda
>            Priority: Minor
>              Labels: performance
>
> * when user's main usage scenario is not sensitive to the order of execution, such as sql Session Kind, user may hope livy server can deal with multi statement concurrentlly
>  * but as interpreterExecutor initialized as singleThreadExecutor, it's no possible to satisfy such requirement.
> {quote}private val interpreterExecutor = ExecutionContext.fromExecutorService(Executors.newSingleThreadExecutor())
> {quote}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)