Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Kafka, mail # dev - [jira] [Commented] (KAFKA-768) broker should exit if hitting exceptions durin startup


Copy link to this message
-
[jira] [Commented] (KAFKA-768) broker should exit if hitting exceptions durin startup
"Swapnil Ghike 2013-02-21, 22:00

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

Swapnil Ghike commented on KAFKA-768:
-------------------------------------

Also to maintain consistency with Producer/ConsumerConfigs, perhaps we should verify KafkaConfig properties in the secondary constructor instead of having a separate verify method.
                
> broker should exit if hitting exceptions durin startup
> ------------------------------------------------------
>
>                 Key: KAFKA-768
>                 URL: https://issues.apache.org/jira/browse/KAFKA-768
>             Project: Kafka
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.8
>            Reporter: Jun Rao
>            Assignee: Jun Rao
>            Priority: Blocker
>         Attachments: kafka-768.patch
>
>
> A broker hit the following exception, but didn't exit.
> 2013/02/20 01:54:21.341 FATAL [KafkaServerStartable] [main] [kafka] []  Fatal error during KafkaServerStable startup. Prepare to shutdown
> kafka.common.KafkaException: Failed to create data directory /export/content/kafka/i001_caches
>         at kafka.log.LogManager$$anonfun$createAndValidateLogDirs$2.apply(LogManager.scala:77)
>         at kafka.log.LogManager$$anonfun$createAndValidateLogDirs$2.apply(LogManager.scala:72)
>         at scala.collection.IndexedSeqOptimized$class.foreach(IndexedSeqOptimized.scala:34)
>         at scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:32)
>         at kafka.log.LogManager.createAndValidateLogDirs(LogManager.scala:72)
>         at kafka.log.LogManager.<init>(LogManager.scala:60)
>         at kafka.server.KafkaServer.startup(KafkaServer.scala:59)
>         at kafka.server.KafkaServerStartable.startup(KafkaServerStartable.scala:34)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira