Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-3753

metrics: FileContext support overwrite mode

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Incomplete
    • None
    • None
    • metrics
    • None

    Description

      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.

      Attachments

        1. HADOOP-3753.v1.patch
          5 kB
          Craig Macdonald

        Activity

          People

            Unassigned Unassigned
            craigm Craig Macdonald
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: