[
https://issues.apache.org/jira/browse/HADOOP-3753?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Allen Wittenauer resolved HADOOP-3753.
--------------------------------------
Resolution: Incomplete
Closing as stale.
> metrics: FileContext support overwrite mode
> -------------------------------------------
>
> Key: HADOOP-3753
> URL: https://issues.apache.org/jira/browse/HADOOP-3753
> Project: Hadoop Common
> Issue Type: Improvement
> Components: metrics
> Reporter: Craig Macdonald
> Priority: Minor
> Attachments: HADOOP-3753.v1.patch
>
>
> FileContext currently continually appends to the metrics log file(s),
> generating an ever lengthening file.
> In some scenarios, it would be useful to simply write the current statistics
> to the file once every period, then overwrite the file for the next period.
> For instance, this could be useful if an external application parsed the
> metrics output - e.g. Cacti to create realtime graphs.
--
This message was sent by Atlassian JIRA
(v6.2#6252)