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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.7.0
    • 1.1.0
    • usersync
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: