Hi guys, I'm currently trying to create Ranger users from a text file and followed this documentation to configure Usersync to work with a text file as a source : https://cwiki.apache.org/confluence/display/RANGER/File+Source+User+Group+Sync+process Still, even if the logs show that the CSV file containing the users is properly read, nothing happens : I can't see the users in Ranger UI. Here are the logs :
07 Mar 2024 12:22:13 DEBUG o.a.r.u.p.PolicyMgrUserGroupBuilder [UnixUserSyncThread] - <== PolicyMgrUserGroupBuilder.buildGroupUserLinkList() 07 Mar 2024 12:22:13 DEBUG o.a.r.u.p.PolicyMgrUserGroupBuilder [UnixUserSyncThread] - PolicyMgrUserGroupBuilderOld.init()==> PolMgrBaseUrl : http://hdp-rec-ranger1-r.l.internal.com:6080 KeyStore File : /etc/ranger/usersync/conf/cert/unixauthservice.jks TrustStore File : Authentication Type : kerberos 07 Mar 2024 12:22:13 INFO o.a.r.u.AbstractMapper [UnixUserSyncThread] - Initializing for ranger.usersync.mapping.username.regex 07 Mar 2024 12:22:13 INFO o.a.r.u.AbstractMapper [UnixUserSyncThread] - Initializing for ranger.usersync.mapping.groupname.regex 07 Mar 2024 12:22:13 INFO o.a.r.u.UserGroupSync [UnixUserSyncThread] - initializing source: org.apache.ranger.unixusersync.process.FileSourceUserGroupBuilder 07 Mar 2024 12:22:13 INFO o.a.r.u.AbstractMapper [UnixUserSyncThread] - Initializing for ranger.usersync.mapping.username.regex 07 Mar 2024 12:22:13 INFO o.a.r.u.AbstractMapper [UnixUserSyncThread] - Initializing for ranger.usersync.mapping.groupname.regex 07 Mar 2024 12:22:13 DEBUG o.a.r.u.p.FileSourceUserGroupBuilder [UnixUserSyncThread] - USER:user_one 07 Mar 2024 12:22:13 DEBUG o.a.r.u.p.FileSourceUserGroupBuilder [UnixUserSyncThread] - USER:user_two 07 Mar 2024 12:22:13 DEBUG o.a.r.u.p.FileSourceUserGroupBuilder [UnixUserSyncThread] - GROUP: 900021 07 Mar 2024 12:22:13 DEBUG o.a.r.u.p.FileSourceUserGroupBuilder [UnixUserSyncThread] - USER:other_user 07 Mar 2024 12:22:13 INFO o.a.r.u.UserGroupSync [UnixUserSyncThread] - Begin: initial load of user/group from source==>sink 07 Mar 2024 12:22:13 INFO o.a.r.u.UserGroupSync [UnixUserSyncThread] - End: initial load of user/group from source==>sink 07 Mar 2024 12:22:13 INFO o.a.r.u.UserGroupSync [UnixUserSyncThread] - Done initializing user/group source and sink 07 Mar 2024 12:22:13 DEBUG o.a.r.u.UserGroupSync [UnixUserSyncThread] - Sleeping for [300000] milliSeconds Am I missing something ? Thanks for your help, Loïc CHANEL Technical leader Big Data Capgemini (Lyon, France)