kondziolka created LIVY-454: ------------------------------- Summary: 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.5.0, 0.4.0 Reporter: kondziolka
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)