Uploaded image for project: 'Bookkeeper'
  1. Bookkeeper
  2. BOOKKEEPER-633

ConcurrentModificationException in RackawareEnsemblePlacementPolicy when a bookie is removed from available list

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 4.3.0
    • Component/s: bookkeeper-client
    • Labels:
      None

      Description

      Got below exception while running one of the tests from TestReplicationWorker

      2013-06-25 15:09:28,546 - ERROR - [main-EventThread:ClientCnxn$EventThread@623] - Caught unexpected throwable
      java.util.ConcurrentModificationException
      	at java.util.HashMap$HashIterator.nextEntry(HashMap.java:793)
      	at java.util.HashMap$KeyIterator.next(HashMap.java:828)
      	at com.google.common.collect.Iterators$8.computeNext(Iterators.java:735)
      	at com.google.common.collect.AbstractIterator.tryToComputeNext(AbstractIterator.java:143)
      	at com.google.common.collect.AbstractIterator.hasNext(AbstractIterator.java:138)
      	at org.apache.bookkeeper.client.RackawareEnsemblePlacementPolicy.onClusterChanged(RackawareEnsemblePlacementPolicy.java:380)
      	at org.apache.bookkeeper.client.BookieWatcher.processResult(BookieWatcher.java:135)
      	at org.apache.zookeeper.ClientCnxn$EventThread.processEvent(ClientCnxn.java:591)
      	at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:497)

        Attachments

        1. BOOKKEEPER-633.patch
          4 kB
          Vinayakumar B
        2. BOOKKEEPER-633.patch
          3 kB
          Vinayakumar B

          Activity

            People

            • Assignee:
              vinayakumarb Vinayakumar B
              Reporter:
              vinayakumarb Vinayakumar B
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: