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

Reduce the time spent changing passwords during Ranger Admin install

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.1, 1.1.1, 1.2.1
    • 1.0.1, 2.0.0, 1.1.1, 1.2.1
    • Ranger
    • None

    Description

      ChangePasswordUtil takes 12-14 seconds to change a password. Its first invocation takes 25-30 seconds (additional time spent creating embedded service-defs). During the initial start of Ranger Admin there are 4 passwords being changed (admin, rangerusersync, rangertagsync, keyadmin), total time for password change is ~74 seconds.

      Based on ChangePasswordUtil's logs, most of the time is spent on setup, and the actual password change is very quick.

      So it will be better to change multiple passwords in one request (by sending multiple users passwords config in single run of ChangePasswordUtil)

      Attachments

        Issue Links

          Activity

            People

              pradeep Pradeep Agrawal
              pradeep Pradeep Agrawal
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: