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

Error updating metrics in RequestChannel

    XMLWordPrintableJSON

Details

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

    Description

      Reported by jkreps on the mailing list:

          kafka.common.KafkaException: Wrong request type 12
          
          at kafka.api.RequestKeys$.nameForKey(RequestKeys.scala:55)
          
          at
          kafka.network.RequestChannel$Request.updateRequestMetrics(RequestChannel.scala:85)
          
          at kafka.network.Processor.write(SocketServer.scala:514)
          
          at kafka.network.Processor.run(SocketServer.scala:379)
          
          at java.lang.Thread.run(Thread.java:744)
          
          [2015-04-12 12:54:52,077] INFO [Kafka Coordinator 0]: Registered consumer
      my-group-24 for group my-group (kafka.coordinator.ConsumerCoordinator)
          
          [2015-04-12 12:54:52,080] INFO [Kafka Coordinator 0]: Handled join-group
          from consumer  to group my-group (kafka.coordinator.ConsumerCoordinator)
      
          [2015-04-12 12:54:52,081] ERROR Closing socket for /10.0.0.220 because of
          error (kafka.network.Processor)
          
          kafka.common.KafkaException: Wrong request type 11
          
          at kafka.api.RequestKeys$.nameForKey(RequestKeys.scala:55)
          
          at
          kafka.network.RequestChannel$Request.updateRequestMetrics(RequestChannel.scala:85)
          
          at kafka.network.Processor.write(SocketServer.scala:514)
          
          at kafka.network.Processor.run(SocketServer.scala:379)
          
           at java.lang.Thread.run(Thread.java:744)
      

      This a result of KAFKA-2044 - we moved few Requests out
      of RequestKeys to the newer ApiKeys, but didn't update the metrics
      code.

      Attachments

        1. KAFKA-2115.patch
          5 kB
          Gwen Shapira
        2. KAFKA-2115_2015-04-12_21:28:12.patch
          7 kB
          Gwen Shapira

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: