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

Switch to Threaded View
Kafka >> mail # user >> .IOException: Unable to create /home/kafka/metrics/NumDelayedRequests.csv


Copy link to this message
-
Re: .IOException: Unable to create /home/kafka/metrics/NumDelayedRequests.csv
You may have to remove the existing file first.

Thanks,

Jun
On Mon, Jul 1, 2013 at 11:21 AM, Vadim Keylis <[EMAIL PROTECTED]> wrote:

> I am getting this exception even those permission properly set and empty
> file is created. Other metric files created without problems.
>
> java.io.IOException: Unable to create
> /home/kafka/metrics/NumDelayedRequests.csv
>         at
>
> com.yammer.metrics.reporting.CsvReporter.createStreamForMetric(CsvReporter.java:141)
>         at
>
> com.yammer.metrics.reporting.CsvReporter.getPrintStream(CsvReporter.java:257)
>         at
> com.yammer.metrics.reporting.CsvReporter.access$000(CsvReporter.java:22)
>         at
> com.yammer.metrics.reporting.CsvReporter$1.getStream(CsvReporter.java:156)
>         at
> com.yammer.metrics.reporting.CsvReporter.processGauge(CsvReporter.java:229)
>         at
> com.yammer.metrics.reporting.CsvReporter.processGauge(CsvReporter.java:22)
>         at com.yammer.metrics.core.Gauge.processWith(Gauge.java:28)
>         at
> com.yammer.metrics.reporting.CsvReporter.run(CsvReporter.java:163)
>         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)
>
> Thanks,
> Vadim
>