ranger icon indicating copy to clipboard operation
ranger copied to clipboard

[RANGER-4307] Allow users customize the time interval

Open zhutong6688 opened this issue 2 years ago • 6 comments

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

zhutong6688 avatar Jul 03 '23 10:07 zhutong6688

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

zhutong6688 avatar Nov 17 '23 20:11 zhutong6688

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

qinping416 avatar Nov 18 '23 06:11 qinping416

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

yanghongwei655 avatar Nov 18 '23 06:11 yanghongwei655

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

zachzzq avatar May 04 '24 17:05 zachzzq

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

zhutong6688 avatar May 21 '24 06:05 zhutong6688

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

zhutong6688 avatar May 21 '24 06:05 zhutong6688