Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-15013

ConcurrentModification exception during Ldap sync

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.2.2
    • None
    • None

    Description

      During ldap sync this exception can occour:

      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)
      

      Attachments

        1. AMBARI-15013.patch
          4 kB
          Oliver Szabo

        Issue Links

          Activity

            People

              oleewere Oliver Szabo
              oleewere Oliver Szabo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: