Hello !

I'm using HDP 2.3.4.7 and Ambari 2.2.1.

I enabled the group syncing in addition to user syncing in the tab "Ranger
User info" in the sub-tab "Group Configs".

At 11h46 today, I created a group and added a user in this group.
###
# ipa group-add test11h46
Description: test11h46
-----------------------
Added group "test11h46"
-----------------------
Group name: test11h46
Description: test11h46
###

###
# ipa group-add-member test11h46 --users=myuser
Group name: test11h46
Description: test11h46
Member users: myuser
-------------------------
Number of members added 1
-------------------------
###

I checked regularly if I can find this group in the logs or ranger
usersync, and didn't find anything.

This should be governed by ranger.usersync.sleeptimeinmillisbetweensynccycl
and the description of this property says the following thing :
###
Sleeptime interval in milliseconds. If < 1000 then default to 30 sec.
###

This is not the case.
I put 5 minuts for this property (300000 milliseconds) and it does not sync
at this frequency.

Finally I saw that this sync occures indeed, but every hour, not below.

Q1 - Is is normal ?
Q2 - How can I put a value below 1 hour. Is it possible ? I know 30s is too
much and could risk to overwhelm the ldap, but once every 5-10 minuts
seemed OK to me. One hour seems overkill.

BR.

Lune

Reply via email to