t oo created RANGER-2524:
----------------------------
Summary: Rangerusersync (ldap) times out after exactly 5mins
Key: RANGER-2524
URL: https://issues.apache.org/jira/browse/RANGER-2524
Project: Ranger
Issue Type: Bug
Components: usersync
Affects Versions: 1.0.0
Reporter: t oo
I tried ranger-usersync restart a few times and it always syncs a different
number of 'getUsers() user count' and always errors after exactly 5 minutes
01 Aug 2019 08:55:37 INFO UnixAuthenticationService [main] - Enabling Unix Auth
Service!
01 Aug 2019 08:55:38 INFO UnixAuthenticationService [main] - Enabling Protocol:
[TLSv1]
01 Aug 2019 08:55:38 INFO UnixAuthenticationService [main] - Enabling Protocol:
[TLSv1.1]
01 Aug 2019 08:55:38 INFO UnixAuthenticationService [main] - Enabling Protocol:
[TLSv1.2]
01 Aug 2019 08:55:38 INFO LdapDeltaUserGroupBuilder [UnixUserSyncThread] -
Updating user count: 1, userName: hgd
.....
01 Aug 2019 09:00:40 INFO LdapDeltaUserGroupBuilder [UnixUserSyncThread] -
Updating user count: 216, userName: dfd
01 Aug 2019 09:00:40 ERROR LdapDeltaUserGroupBuilder [UnixUserSyncThread] -
LdapDeltaUserGroupBuilder.getUsers() failed with exception:
javax.naming.CommunicationException: Connection reset [Root exception is
java.net.SocketException: Connection reset]
01 Aug 2019 09:00:40 INFO LdapDeltaUserGroupBuilder [UnixUserSyncThread] -
LdapDeltaUserGroupBuilder.getUsers() user count: 216
01 Aug 2019 09:00:40 INFO UserGroupSync [UnixUserSyncThread] - End: initial
load of user/group from source==>sink
01 Aug 2019 09:00:40 INFO UserGroupSync [UnixUserSyncThread] - Done
initializing user/group source and sink
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)