You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@livy.apache.org by "Asif Khatri (Jira)" <ji...@apache.org> on 2023/01/23 11:47:00 UTC

[jira] [Commented] (LIVY-968) Provide ttl field for a livy session

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

Asif Khatri commented on LIVY-968:
----------------------------------

I have created [https://github.com/apache/incubator-livy/pull/384] PR with the fix.

> Provide ttl field for a livy session
> ------------------------------------
>
>                 Key: LIVY-968
>                 URL: https://issues.apache.org/jira/browse/LIVY-968
>             Project: Livy
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Vedant Lodha
>            Priority: Critical
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> A session should have a field 'ttl' which once exceeded should get the session killed.This field can be a parameter in the POST /sessions request and then be a part of session object. 
> Livy has a config `livy.server.session.timeout` but this is a global config and cannot be configured for a session. A 'ttl' field can help set this for a session level. 
> The precedence could be 'ttl' > 'livy.server.session.timeout'



--
This message was sent by Atlassian Jira
(v8.20.10#820010)