You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ju...@apache.org on 2013/03/04 05:22:01 UTC

[19/37] git commit: broker should exit if hitting exceptions durin startup; patched by Jun Rao; reviewed by Sriram Subramanian, Swapnil Ghike and Neha Narkhede; kafka-768

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


Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/049ac882
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/049ac882
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/049ac882

Branch: refs/heads/trunk
Commit: 049ac882bfa3d9f01100f84ab4cf9b0a41ae88a8
Parents: 859959f
Author: Jun Rao <ju...@gmail.com>
Authored: Thu Feb 21 21:48:43 2013 -0800
Committer: Jun Rao <ju...@gmail.com>
Committed: Thu Feb 21 21:48:43 2013 -0800

----------------------------------------------------------------------
 .../scala/kafka/server/KafkaServerStartable.scala  |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kafka/blob/049ac882/core/src/main/scala/kafka/server/KafkaServerStartable.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/kafka/server/KafkaServerStartable.scala b/core/src/main/scala/kafka/server/KafkaServerStartable.scala
index 2121b75..14fb7fc 100644
--- a/core/src/main/scala/kafka/server/KafkaServerStartable.scala
+++ b/core/src/main/scala/kafka/server/KafkaServerStartable.scala
@@ -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)
     }
   }