Vedant Lodha created LIVY-976:
---------------------------------
Summary: HeartbeatTimeoutInSeconds resets if /sessions is called.
Key: LIVY-976
URL: https://issues.apache.org/jira/browse/LIVY-976
Project: Livy
Issue Type: Bug
Components: API, Server
Reporter: Vedant Lodha
Based on description in the docs
heartbeatTimeoutInSecond: Timeout in second to which session be orphaned
Were trying to create a session with heartbeattimeout as 10 minutes(600 s). The
expectation is, if the session is idle for 10 mins, it should be killed.
However the observation is,
Since were poling for each session, calling /session/\{sessionid}, the session
doesnt timeout even when idle, whereas calling /session causes the session to
timeout if idle.
This shouldnt be the case. internal timer should reset only when a statement is
run against a session.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)