ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-15013) ConcurrentModification exception during Ldap sync
Date Tue, 16 Feb 2016 21:21:18 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-15013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15149323#comment-15149323
] 

Hudson commented on AMBARI-15013:
---------------------------------

ABORTED: Integrated in Ambari-trunk-Commit #4336 (See [https://builds.apache.org/job/Ambari-trunk-Commit/4336/])
AMBARI-15013. Ldap Sync: Concurrent modification exception  (Oliver (rlevas: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=0868a0fc1bce5a5d58ac44eba1af2aaa4c161ef6])
* ambari-server/src/main/java/org/apache/ambari/server/security/ldap/AmbariLdapDataPopulator.java
* ambari-server/src/test/java/org/apache/ambari/server/security/ldap/AmbariLdapDataPopulatorTest.java


> ConcurrentModification exception during Ldap sync
> -------------------------------------------------
>
>                 Key: AMBARI-15013
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15013
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: Olivér Szabó
>            Assignee: Olivér Szabó
>             Fix For: 2.2.2
>
>         Attachments: AMBARI-15013.patch
>
>
> During ldap sync this exception can occour:
> {code}
> CLUSTERED started.
> 10 Feb 2016 22:10:15,776 ERROR [pool-8-thread-1] LdapSyncEventResourceProvider:434 -
Caught exception running LDAP sync.
> java.util.ConcurrentModificationException
>         at java.util.HashMap$HashIterator.nextEntry(HashMap.java:922)
>         at java.util.HashMap$ValueIterator.next(HashMap.java:950)
>         at org.apache.ambari.server.security.ldap.AmbariLdapDataPopulator.synchronizeExistingLdapGroups(AmbariLdapDataPopulator.java:296)
>         at org.apache.ambari.server.controller.AmbariManagementControllerImpl.synchronizeLdapUsersAndGroups(AmbariManagementControllerImpl.java:4189)
>         at org.apache.ambari.server.controller.internal.LdapSyncEventResourceProvider.syncLdap(LdapSyncEventResourceProvider.java:464)
>         at org.apache.ambari.server.controller.internal.LdapSyncEventResourceProvider.processSyncEvents(LdapSyncEventResourceProvider.java:422)
>         at org.apache.ambari.server.controller.internal.LdapSyncEventResourceProvider.access$000(LdapSyncEventResourceProvider.java:60)
>         at org.apache.ambari.server.controller.internal.LdapSyncEventResourceProvider$1.run(LdapSyncEventResourceProvider.java:246)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:745)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message