kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Juergen Zimmermann (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-6171) [1.0.0] Logging is broken with Windows and Java 9
Date Sat, 04 Nov 2017 15:15:00 GMT
Juergen Zimmermann created KAFKA-6171:
-----------------------------------------

             Summary: [1.0.0] Logging is broken with Windows and Java 9
                 Key: KAFKA-6171
                 URL: https://issues.apache.org/jira/browse/KAFKA-6171
             Project: Kafka
          Issue Type: Bug
          Components: log
    Affects Versions: 1.0.0
         Environment: Windows 10, Java 9.0.1 and 10 build 29
            Reporter: Juergen Zimmermann
            Priority: Major


When I start a Kafka server on Windows using Java 9.0.1 (same for 10 build 29), then I get
the following error:
{{[2017-11-04 10:05:11,457] WARN Error processing kafka.log:type=LogManager,name=LogDirectoryOffline,logDirectory=C:\Zimmermann\kafka\logs
(com.yammer.metrics.reporting.JmxReporter)
javax.management.MalformedObjectNameException: Invalid character ':' in value part of property
        at java.management/javax.management.ObjectName.construct(ObjectName.java:621)
        at java.management/javax.management.ObjectName.<init>(ObjectName.java:1406)
        at com.yammer.metrics.reporting.JmxReporter.onMetricAdded(JmxReporter.java:395)
        at com.yammer.metrics.core.MetricsRegistry.notifyMetricAdded(MetricsRegistry.java:516)
        at com.yammer.metrics.core.MetricsRegistry.getOrAdd(MetricsRegistry.java:491)
        at com.yammer.metrics.core.MetricsRegistry.newGauge(MetricsRegistry.java:79)
        at kafka.metrics.KafkaMetricsGroup$class.newGauge(KafkaMetricsGroup.scala:74)
        at kafka.log.LogManager.newGauge(LogManager.scala:50)
        at kafka.log.LogManager$$anonfun$6.apply(LogManager.scala:117)
        at kafka.log.LogManager$$anonfun$6.apply(LogManager.scala:116)
        at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)
        at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:48)
        at kafka.log.LogManager.<init>(LogManager.scala:116)
        at kafka.log.LogManager$.apply(LogManager.scala:799)
        at kafka.server.KafkaServer.startup(KafkaServer.scala:222)
        at kafka.server.KafkaServerStartable.startup(KafkaServerStartable.scala:38)
        at kafka.Kafka$.main(Kafka.scala:92)
        at kafka.Kafka.main(Kafka.scala)}}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message