Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMBARI-25479. Set Keytab: Kerberos Client operation takes lot of time and timing out (dgrinenko) #3183

Closed

Conversation

hapylestat
Copy link
Contributor

What changes were proposed in this pull request?

Kerberos keytab injection to the agent command were optimized to be executed much more faster. Previously, we have created descriptors on the fly by reading them from the stack and merging in-to one. However, we have repeated this procedure each time we needed the descriptor.

In current particular place, we can't effectively cache already loaded descriptors without implementing their expire time as well as expire time on state change on the disk. Due to this fact, the idea were changed - now we will load them as part of the meta information, where are they locating now, and do not generate much IO operations when we creating a bunch of descriptors.

How was this patch tested?

Manually on a perf cluster and performance analyze on profiler snapshot,

- Kerberos slowness fixes
- agent push command fix
- UT Fixes
- Unused imports
@hapylestat hapylestat added kerberos server Ambari server labels Feb 28, 2020
@hapylestat hapylestat requested a review from a user February 28, 2020 11:08
@hapylestat hapylestat self-assigned this Feb 28, 2020
@hapylestat hapylestat closed this Jul 27, 2020
@hapylestat hapylestat deleted the in-work/branch-2.7/kerberos branch July 27, 2020 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kerberos server Ambari server
Projects
None yet
1 participant