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

[RANGER-4307] Allow users customize the time interval #269

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

zhutong6688
Copy link

Modified the UserGroupSyncConfig.java file and added the configuration of user forced custom time synchronization. If enabled, LDAP users can be synchronized according to the user defined time.

What changes were proposed in this pull request?

RANGER-4307: Added configuration option for ldap: ranger. usersync. ldap. force. sleep time in millisbetweensynccycle. enabled. If enabled (set to true), users will be synchronized according to the time interval set by the user. According to the actual production and usage situation, this demand is often urgently requested by users. this also gives the user more autonomy.

How was this patch tested?

It was tested in the company's Big data cluster test environment, and later synchronized to the production environment. After rigorous testing, this modification has fully achieved its purpose. The test screenshot is as follows:
image

Modified the UserGroupSyncConfig.java file and added the configuration of user forced custom time synchronization. If enabled, LDAP users can be synchronized according to the user defined time.
@zhutong6688
Copy link
Author

This PR can greatly improve the production efficiency of enterprises and save a lot of costs for them.

@qinping416
Copy link

This pull request can improve the production efficiency of enterprises and save costs for enterprises

@yanghongwei655
Copy link

This PR is very practical and helpful to improve development efficiency, thanks for sharing

@zachzzq
Copy link

zachzzq commented May 4, 2024

This PR can greatly improve the production efficiency of enterprises and save a lot of costs for them.
你好 我看你提交修改的代码中引入了新的配置文件属性,但配置文件中并没有这个属性,pr中也找不到。 是我找的有问题吗?

@zhutong6688
Copy link
Author

@zachzzq 你好,你是apache ranger的负责人吗?这个提交有一定的时间了,没有看到项目负责人的回复。

@zhutong6688
Copy link
Author

@zachzzq 不过我们在生产上已经用了好久了,对生产的促进也挺大的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants