You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Rajini Sivaram (JIRA)" <ji...@apache.org> on 2017/12/06 19:44:00 UTC

[jira] [Resolved] (KAFKA-6300) SelectorTest may fail with ConcurrentModificationException

     [ https://issues.apache.org/jira/browse/KAFKA-6300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rajini Sivaram resolved KAFKA-6300.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.0.1
                   1.1.0

Issue resolved by pull request 4299
[https://github.com/apache/kafka/pull/4299]

> SelectorTest may fail with ConcurrentModificationException
> ----------------------------------------------------------
>
>                 Key: KAFKA-6300
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6300
>             Project: Kafka
>          Issue Type: Test
>            Reporter: Ted Yu
>            Priority: Minor
>             Fix For: 1.1.0, 1.0.1
>
>
> From https://builds.apache.org/job/kafka-trunk-jdk8/2255/testReport/junit/org.apache.kafka.common.network/SelectorTest/testImmediatelyConnectedCleaned/ :
> {code}
> java.util.ConcurrentModificationException
> 	at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:909)
> 	at java.util.ArrayList$Itr.next(ArrayList.java:859)
> 	at org.apache.kafka.common.network.EchoServer.closeConnections(EchoServer.java:115)
> 	at org.apache.kafka.common.network.EchoServer.close(EchoServer.java:121)
> 	at org.apache.kafka.common.network.SelectorTest.tearDown(SelectorTest.java:95)
> {code}
> It seems sockets ArrayList was modified during closing.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)