[
https://issues.apache.org/jira/browse/KAFKA-2405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gwen Shapira updated KAFKA-2405:
--------------------------------
Resolution: Fixed
Reviewer: Gwen Shapira
Fix Version/s: 0.8.3
Status: Resolved (was: Patch Available)
> 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
> Fix For: 0.8.3
>
>
> 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)