You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/12/30 03:38:22 UTC

[GitHub] [pulsar] aloyszhang opened a new issue #9087: kop meet ConcurrentModificationException

aloyszhang opened a new issue #9087:
URL: https://github.com/apache/pulsar/issues/9087


   **Describe the bug**
   Protocol handler kop exception, 
   ``` 
   java.util.concurrent.CompletionException: java.util.ConcurrentModificationException
   	at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:273) ~[?:1.8.0_201]
   	at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:280) ~[?:1.8.0_201]
   	at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:659) ~[?:1.8.0_201]
   	at java.util.concurrent.CompletableFuture$UniAccept.tryFire(CompletableFuture.java:632) ~[?:1.8.0_201]
   	at java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:474) ~[?:1.8.0_201]
   	at java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:1962) ~[?:1.8.0_201]
   	at org.apache.pulsar.broker.service.BrokerService.lambda$getManagedLedgerConfig$40(BrokerService.java:1308) ~[pulsar-broker-2.8.0-rc-202012272229.jar:2.8.0-rc-202012272229]
   	at org.apache.bookkeeper.mledger.util.SafeRun$2.safeRun(SafeRun.java:49) [managed-ledger-2.8.0-rc-202012272229.jar:2.8.0-rc-202012272229]
   	at org.apache.bookkeeper.common.util.SafeRunnable.run(SafeRunnable.java:36) [bookkeeper-common-4.12.0.jar:4.12.0]
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_201]
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_201]
   	at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [netty-common-4.1.51.Final.jar:4.1.51.Final]
   	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_201]
   Caused by: java.util.ConcurrentModificationException
   	at java.util.HashMap$HashIterator.nextNode(HashMap.java:1445) ~[?:1.8.0_201]
   	at java.util.HashMap$KeyIterator.next(HashMap.java:1469) ~[?:1.8.0_201]
   	at org.apache.pulsar.broker.service.BrokerService.lambda$createPersistentTopic$32(BrokerService.java:1101) ~[pulsar-broker-2.8.0-rc-202012272229.jar:2.8.0-rc-202012272229]
   	at java.util.concurrent.CompletableFuture.uniAccept(CompletableFuture.java:656) ~[?:1.8.0_201]
   	... 10 more
   ```
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. enable kop for pulsar broker
   2. enable broker entey metadata for pulsar borker
   3. start broker and may see this error
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] sijie closed issue #9087: kop meet ConcurrentModificationException

Posted by GitBox <gi...@apache.org>.
sijie closed issue #9087:
URL: https://github.com/apache/pulsar/issues/9087


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org