jaikiran pai created KAFKA-2405:
-----------------------------------

             Summary: KafkaHealthCheck kills the JVM in 
handleSessionEstablishmentError
                 Key: KAFKA-2405
                 URL: https://issues.apache.org/jira/browse/KAFKA-2405
             Project: Kafka
          Issue Type: Bug
          Components: core
            Reporter: jaikiran pai
            Assignee: jaikiran pai


The current code in KafkaHealthCheck in trunk does this:

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

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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to