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

[jira] [Resolved] (LIVY-454) Creating batch sessions seems to be synchronous. Is there any plan to make it asynchronous ?

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

Saisai Shao resolved LIVY-454.
------------------------------
    Resolution: Won't Fix

> Creating batch sessions seems to be synchronous. Is there any plan to make it asynchronous ?
> --------------------------------------------------------------------------------------------
>
>                 Key: LIVY-454
>                 URL: https://issues.apache.org/jira/browse/LIVY-454
>             Project: Livy
>          Issue Type: Question
>          Components: Batch, Server
>    Affects Versions: 0.4.0, 0.5.0
>            Reporter: kondziolka
>            Priority: Minor
>
> Creating batch sessions seems to be synchronous,  below one line from _BatchSession.scala_ which is executed during creating batch session request.
> {code:java}
> sessionStore.save(BatchSession.RECOVERY_SESSION_TYPE, s.recoveryMetadata){code}
> In case of session storage  basing on HDFS, time of creating batch session (so waiting for answer from server) can be quite long, for example during failover of some node in Hadoop cluster. It can lead to some integration issues.
> Therefore, the question is are you going to provide asynchronous approach to creating batch session ?



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