Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-2021

Ranger "Login Sessions" Audits impossible to browse due to 'rangerusersync'

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.7.0
    • Fix Version/s: 1.1.0
    • Component/s: usersync
    • Labels:
      None

      Description

      "Ranger User Sync" logs into Ranger multiple times a second. This is with:

      ranger.usersync.source.impl.class=org.apache.ranger.unixusersync.process.UnixUserGroupBuilder
      ranger.usersync.unix.backend=nss
      

      The high number and rate of these sessions makes it impossible to use the "Login Sessions" audit page:

      Further, it's adding a lot of extra requests and overhead to Ranger, Ranger User Sync, and the backing database (e.g. MySQL).

      The service should re-use its session rather than continual logins.

      $ rpm -qa *usersync*
      ranger_2_6_4_0_91-usersync-0.7.0.2.6.4.0-91.x86_64
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nikhil Nikhil Purbhe
                Reporter:
                seano Sean Roberts
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: