Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-2504

Stop logging WARN when client disconnects

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.9.0.0
    • None
    • None

    Description

      I thought we fixed this one, but it came back. This can be fill logs and is fairly useless. Should be logged at DEBUG level:

      [2015-09-02 12:05:59,743] WARN Error in I/O with connection to /10.191.0.36 (org.apache.kafka.common.network.Selector)
      java.io.IOException: Connection reset by peer
      	at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
      	at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
      	at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
      	at sun.nio.ch.IOUtil.read(IOUtil.java:197)
      	at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380)
      	at org.apache.kafka.common.network.PlaintextTransportLayer.read(PlaintextTransportLayer.java:111)
      	at org.apache.kafka.common.network.NetworkReceive.readFromReadableChannel(NetworkReceive.java:81)
      	at org.apache.kafka.common.network.NetworkReceive.readFrom(NetworkReceive.java:71)
      	at org.apache.kafka.common.network.KafkaChannel.receive(KafkaChannel.java:154)
      	at org.apache.kafka.common.network.KafkaChannel.read(KafkaChannel.java:135)
      	at org.apache.kafka.common.network.Selector.poll(Selector.java:296)
      	at kafka.network.Processor.run(SocketServer.scala:405)
      	at java.lang.Thread.run(Thread.java:745)
      

      Attachments

        Activity

          People

            jholoman Jeff Holoman
            gwenshap Gwen Shapira
            Gwen Shapira Gwen Shapira
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: