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

Fix session restore issue

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8
    • Component/s: api, server
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: