cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lucas Benevides Dias (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-13950) Metrics CsvReporterConfig fails to create directory if it exists and does not work
Date Wed, 11 Oct 2017 14:10:00 GMT
Lucas Benevides Dias created CASSANDRA-13950:
------------------------------------------------

             Summary: Metrics CsvReporterConfig fails to create directory if it exists and
does not work
                 Key: CASSANDRA-13950
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13950
             Project: Cassandra
          Issue Type: Improvement
          Components: Metrics
         Environment: Cassandra 3.11, Linux,  Ubuntu 15.04 (GNU/Linux 3.19.0-84-generic x86_64).
            Reporter: Lucas Benevides Dias
            Priority: Minor
             Fix For: 3.11.0


The metrics environment has the option of using a CsvReporterConfig, that outputs the metrics
in a directory that the user can put in the configuration yaml file.

If the directory doesn't exist, it is created and the metrics are written as expected.

However, if the directory already exists (suppose an unexpected cassandra restart) the metrics
aren't written in the directory. What I expected to happen is to the metrics get written in
the same directory, appending the new values in the same CSV files they were been written
before. This way there would be continuity.





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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message