You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ismael Juma (JIRA)" <ji...@apache.org> on 2017/09/28 11:04:00 UTC

[jira] [Resolved] (KAFKA-3986) completedReceives can contain closed channels

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

Ismael Juma resolved KAFKA-3986.
--------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 1.1.0)
                   1.0.0

> completedReceives can contain closed channels 
> ----------------------------------------------
>
>                 Key: KAFKA-3986
>                 URL: https://issues.apache.org/jira/browse/KAFKA-3986
>             Project: Kafka
>          Issue Type: Bug
>          Components: network
>            Reporter: Ryan P
>             Fix For: 1.0.0
>
>
> I'm not entirely sure why at this point but it is possible to throw a Null Pointer Exception when processingCompletedReceives. This happens when a fairly substantial number of simultaneously initiated connections are initiated with the server. 
> The processor thread does carry on but it may be worth investigating how the channel could be both closed and  completedReceives. 
> The NPE in question is thrown here:
> https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/network/SocketServer.scala#L490
> It can not be consistently reproduced either. 



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