[
https://issues.apache.org/jira/browse/RANGER-2279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16686587#comment-16686587
]
Pradeep Agrawal commented on RANGER-2279:
-----------------------------------------
Patch committed in master branch :
https://github.com/apache/ranger/commit/4b735de08f04ee6ece6b6f57fa4f4c8c17816b8a
> Reduce the time spent changing passwords during Ranger Admin install
> --------------------------------------------------------------------
>
> 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
> Priority: Major
> Fix For: 1.0.1, 2.0.0, 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)