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

Switch to Threaded View
Kafka, mail # dev - CSV metrics


Copy link to this message
-
Re: CSV metrics
Joel Koshy 2012-10-30, 17:03
This will be handled in https://issues.apache.org/jira/browse/KAFKA-585

Thanks,

Joel

On Tue, Oct 30, 2012 at 9:24 AM, Jay Kreps <[EMAIL PROTECTED]> wrote:

> I also get this exception over and over again. It's weird because I can
> manually create that file so it isn't a permissions issue. In any case the
> default path for metrics data like this should by under /tmp not inside the
> kafka source directory.
>
> java.io.IOException: Unable to create
> kafka_metrics/kafka.server.ReplicaManager.UnderReplicatedPartitions.csv
> at
>
> com.yammer.metrics.reporting.CsvReporter.createStreamForMetric(CsvReporter.java:145)
> at
>
> com.yammer.metrics.reporting.CsvReporter.getPrintStream(CsvReporter.java:271)
> at com.yammer.metrics.reporting.CsvReporter.access$000(CsvReporter.java:24)
> at
> com.yammer.metrics.reporting.CsvReporter$1.getStream(CsvReporter.java:161)
> at
> com.yammer.metrics.reporting.CsvReporter.processGauge(CsvReporter.java:239)
> at
> com.yammer.metrics.reporting.CsvReporter.processGauge(CsvReporter.java:24)
> at
>
> com.yammer.metrics.reporting.MetricDispatcher.dispatch(MetricDispatcher.java:8)
> at com.yammer.metrics.reporting.CsvReporter.run(CsvReporter.java:168)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
> at
> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
> at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
> at
>
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
> at
>
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:180)
> at
>
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:204)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
> at
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
> at java.lang.Thread.run(Thread.java:680)
>
> -Jay
>
> On Tue, Oct 30, 2012 at 9:19 AM, Jay Kreps <[EMAIL PROTECTED]> wrote:
>
> > We seem to have enabled this by default in 0.8. Since it is only useful
> > for performance testing and inappropriate at other times this seems like
> a
> > bug, no?
> >
> > -Jay
> >
>