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

Stop logging WARN when client disconnects

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.0.0
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: