kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jun...@apache.org
Subject [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
Date Mon, 04 Mar 2013 04:22:01 GMT
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 <junrao@gmail.com>
Authored: Thu Feb 21 21:48:43 2013 -0800
Committer: Jun Rao <junrao@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)
     }
   }
 


Mime
View raw message