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

KafkaHealthCheck kills the JVM in handleSessionEstablishmentError

    XMLWordPrintableJSON

Details

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

    Description

      The current code in KafkaHealthCheck in trunk does this:

      override def handleSessionEstablishmentError(error: Throwable): Unit = {
            fatal("Could not establish session with zookeeper", error)
            System.exit(-1)
          }
      

      thus terminating the JVM. A session establishment error shouldn't cause the JVM to terminate.

      Attachments

        Issue Links

          Activity

            People

              jaikiran Jaikiran Pai
              jaikiran Jaikiran Pai
              Gwen Shapira Gwen Shapira
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: