Uploaded image for project: 'Apache Lens (Retired)'
  1. Apache Lens (Retired)
  2. LENS-1527

Fix session restore issue

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.8
    • api, server
    • None

    Description

      When a session is created in Lens, corresponding hive session is created for cluster user and session count map for user is updated. But when Lens is started and restores it's sessions, the session count map is updated for cluster user.

       

      Since many user may have same cluster user, on restart of Lens the session count for cluster user will be a lot and if you try to create session using that cluster user, you might get 429(which is sent when session limit is exhausted for a user).

      The fix for this is while resotring the session, use loggedin user to update the session count map.

      Attachments

        1. LENS-1527_1.patch
          5 kB
          Barun Kumar

        Activity

          People

            barunsthakur Barun Kumar
            barunsthakur Barun Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: