incubator-s4-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "唐装鼠" <>
Subject 回复: 回复: metrics
Date Mon, 03 Jun 2013 07:45:44 GMT
I used the command parameter -p=s4.metrics.config=csv:/root/workspace/fishApp/records:10:SECONDS
/root/workspace/fishApp/records is a directory.
I created two nodes in my host.One node without the error,the other one with
OMG,Where wrong?
------------------ 原始邮件 ------------------
发件人: "baojian Zhou"<>;
发送时间: 2013年6月3日(星期一) 下午3:39
收件人: "s4-user"<>; 

主题: Re: 回复: metrics

which method do you use? if you use the enable method make sure that: CsvReporter.enable(logDir,
the logDir is a directory.


2013/6/3 唐装鼠 <>

I delete the local-vs-remote.csv.As a result,one node run without errors while the other one
has the same error.I don't know where I'm wrong.

------------------ 原始邮件 ------------------
发件人: "baojian Zhou"<>;
 发送时间: 2013年6月3日(星期一) 下午3:26
收件人: "s4-user"<>; 

主题: Re: metrics

 i think if you system has already had the file local-vs-remote.csv or it maybe dose not work.
before start the application you should delete the  local-vs-remote.csv  first

2013/6/3 唐装鼠 <>
 When I used the metrics,errors occured as below: Unable to create /root/workspace/fishApp/records/local-vs-remote.csv
    at com.yammer.metrics.reporting.CsvReporter.createStreamForMetric(
     at com.yammer.metrics.reporting.CsvReporter.getPrintStream(
    at com.yammer.metrics.reporting.CsvReporter.access$000(
    at com.yammer.metrics.reporting.CsvReporter$1.getStream(
     at com.yammer.metrics.reporting.CsvReporter.processGauge(
    at com.yammer.metrics.reporting.CsvReporter.processGauge(
    at com.yammer.metrics.core.Gauge.processWith(
    at java.util.concurrent.Executors$
    at java.util.concurrent.FutureTask$Sync.innerRunAndReset(
     at java.util.concurrent.FutureTask.runAndReset(
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(
    at java.util.concurrent.ScheduledThreadPoolExecutor$
     at java.util.concurrent.ThreadPoolExecutor.runWorker(
    at java.util.concurrent.ThreadPoolExecutor$

Other files created successfully.I don't know what lead to the error.Can you help me?
View raw message