Pradeep Agrawal created RANGER-2279:
---------------------------------------

             Summary: Reduce the time spent changing passwords during Ranger 
Admin start
                 Key: RANGER-2279
                 URL: https://issues.apache.org/jira/browse/RANGER-2279
             Project: Ranger
          Issue Type: Improvement
          Components: Ranger
    Affects Versions: 1.0.1, 1.1.1, 1.2.1
            Reporter: Pradeep Agrawal
            Assignee: Pradeep Agrawal
             Fix For: 1.0.1, 1.1.1, 1.2.1


{{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)}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to