You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[2018-07-28 16:18:05,425] INFO Registered kafka:type=kafka.Log4jController MBean (kafka.utils.Log4jControllerRegistration$)
[2018-07-28 16:18:06,134] DEBUG Initialize GraphiteReporter [localhost,2003,test1] (com.criteo.kafka.KafkaGraphiteMetricsReporter)
[2018-07-28 16:18:06,174] DEBUG The following Metrics Dimensions will be sent [count, meanRate, rate1m, rate5m, rate15m, min, max, mean, stddev, sum, median, p75, p95, p98, p99, p999] (com.criteo.kafka.KafkaGraphiteMetricsReporter)
[2018-07-28 16:18:06,188] INFO Started Kafka Graphite metrics reporter with polling period 10 seconds (com.criteo.kafka.KafkaGraphiteMetricsReporter)
[2018-07-28 16:18:06,188] DEBUG GraphiteReporter started. (com.criteo.kafka.KafkaGraphiteMetricsReporter)
[2018-07-28 16:18:06,217] ERROR Exiting Kafka due to fatal exception (kafka.Kafka$)
java.nio.file.AccessDeniedException: /kafka_metrics
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384)
at java.nio.file.Files.createDirectory(Files.java:674)
at java.nio.file.Files.createAndCheckIsDirectory(Files.java:781)
at java.nio.file.Files.createDirectories(Files.java:767)
at kafka.metrics.KafkaCSVMetricsReporter.init(KafkaCSVMetricsReporter.scala:54)
at kafka.metrics.KafkaMetricsReporter$.$anonfun$startReporters$1(KafkaMetricsReporter.scala:66)
at scala.collection.IndexedSeqOptimized.foreach(IndexedSeqOptimized.scala:32)
at scala.collection.IndexedSeqOptimized.foreach$(IndexedSeqOptimized.scala:29)
at scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:38)
at kafka.metrics.KafkaMetricsReporter$.startReporters(KafkaMetricsReporter.scala:64)
at kafka.server.KafkaServerStartable$.fromProps(KafkaServerStartable.scala:27)
at kafka.Kafka$.main(Kafka.scala:82)
at kafka.Kafka.main(Kafka.scala)
Thanks for all the helps!!
The text was updated successfully, but these errors were encountered:
Same jar works fine with centos6 but it is failing to start service in centos7. Please help me to figure out what went wrong?
CentOS Linux release 7.4.1708 (Core)
jdk1.8.0_144-1.8.0_144-fcs.x86_64
kafka.metrics.reporters=com.criteo.kafka.KafkaGraphiteMetricsReporter,kafka.metrics.KafkaCSVMetricsReporter
kafka.graphite.metrics.reporter.enabled=true
kafka.graphite.metrics.host=localhost
kafka.graphite.metrics.port=2003
kafka.graphite.metrics.group=test1
[2018-07-28 16:18:05,425] INFO Registered kafka:type=kafka.Log4jController MBean (kafka.utils.Log4jControllerRegistration$)
[2018-07-28 16:18:06,134] DEBUG Initialize GraphiteReporter [localhost,2003,test1] (com.criteo.kafka.KafkaGraphiteMetricsReporter)
[2018-07-28 16:18:06,174] DEBUG The following Metrics Dimensions will be sent [count, meanRate, rate1m, rate5m, rate15m, min, max, mean, stddev, sum, median, p75, p95, p98, p99, p999] (com.criteo.kafka.KafkaGraphiteMetricsReporter)
[2018-07-28 16:18:06,188] INFO Started Kafka Graphite metrics reporter with polling period 10 seconds (com.criteo.kafka.KafkaGraphiteMetricsReporter)
[2018-07-28 16:18:06,188] DEBUG GraphiteReporter started. (com.criteo.kafka.KafkaGraphiteMetricsReporter)
[2018-07-28 16:18:06,217] ERROR Exiting Kafka due to fatal exception (kafka.Kafka$)
java.nio.file.AccessDeniedException: /kafka_metrics
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:84)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384)
at java.nio.file.Files.createDirectory(Files.java:674)
at java.nio.file.Files.createAndCheckIsDirectory(Files.java:781)
at java.nio.file.Files.createDirectories(Files.java:767)
at kafka.metrics.KafkaCSVMetricsReporter.init(KafkaCSVMetricsReporter.scala:54)
at kafka.metrics.KafkaMetricsReporter$.$anonfun$startReporters$1(KafkaMetricsReporter.scala:66)
at scala.collection.IndexedSeqOptimized.foreach(IndexedSeqOptimized.scala:32)
at scala.collection.IndexedSeqOptimized.foreach$(IndexedSeqOptimized.scala:29)
at scala.collection.mutable.WrappedArray.foreach(WrappedArray.scala:38)
at kafka.metrics.KafkaMetricsReporter$.startReporters(KafkaMetricsReporter.scala:64)
at kafka.server.KafkaServerStartable$.fromProps(KafkaServerStartable.scala:27)
at kafka.Kafka$.main(Kafka.scala:82)
at kafka.Kafka.main(Kafka.scala)
Thanks for all the helps!!
The text was updated successfully, but these errors were encountered: