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

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

Vedant Lodha created LIVY-968:
---------------------------------

             Summary: 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


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)