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

Leader finder thread in ConsumerFetcherManager needs to handle exceptions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.8.0
    • 0.8.0
    • core

    Description

      Saw the leader finder thread due to the following exception. We need to add a try/catch clause to handle the exceptions.

      [2012-10-11 17:17:14,192] ERROR [mm_regtest_grp_jrao-ld-1350000983383-47e0e557-leader-finder-thread], Error due to (kafka.consumer.ConsumerFetcherManager$$anon$1)
      kafka.common.KafkaException: fetching topic metadata for topics [Set(test_1)] from broker [ArrayBuffer()] failed
      at kafka.utils.Utils$.getTopicMetadata(Utils.scala:704)
      at kafka.consumer.ConsumerFetcherManager$$anon$1.doWork(ConsumerFetcherManager.scala:55)
      at kafka.utils.ShutdownableThread.run(ShutdownableThread.scala:50)

      Attachments

        Activity

          People

            Unassigned Unassigned
            junrao Jun Rao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified