kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jun Rao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-2405) KafkaHealthCheck kills the JVM in handleSessionEstablishmentError
Date Mon, 19 Jun 2017 21:24:00 GMT

    [ https://issues.apache.org/jira/browse/KAFKA-2405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16054764#comment-16054764
] 

Jun Rao commented on KAFKA-2405:
--------------------------------

Just realized this change. This seems to cause the ZK session expiration handling to be worse
than before. Filed https://issues.apache.org/jira/browse/KAFKA-5473 to address this.

> 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.9.0.0
>
>
> 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.4.14#64029)

Mime
View raw message