Uploaded image for project: 'Livy'
  1. Livy
  2. LIVY-976

HeartbeatTimeoutInSeconds resets if /sessions is called.

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • API, Server
    • None

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            asifkhatri Asif Khatri
            vedantlodha Vedant Lodha

            Dates

              Created:
              Updated:

              Slack

                Issue deployment