broker should exit if hitting exceptions durin startup; patched by Jun Rao; reviewed by Sriram Subramanian, Swapnil Ghike and Neha Narkhede; kafka-768

This commit is contained in:
Jun Rao 2013-02-21 21:48:43 -08:00
parent 859959f974
commit 049ac882bf
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ class KafkaServerStartable(val serverConfig: KafkaConfig) extends Logging {
case e =>
fatal("Fatal error during KafkaServerStable startup. Prepare to shutdown", e)
shutdown()
System.exit(1)
}
}