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

RollingFileSystemSink should eagerly rotate directories

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.8.0
    • 2.9.0, 3.0.0-alpha1
    • None
    • None

    Description

      The RollingFileSystemSink only rolls over to a new directory if a new metrics record comes in. The issue is that HDFS does not update the file size until it's closed (HDFS-5478), and if no new metrics record comes in, then the file size will never be updated.

      This JIRA is to add a background thread to the sink that will eagerly close the file at the top of the hour.

      Attachments

        1. HADOOP-12759.003.patch
          20 kB
          Daniel Templeton
        2. HADOOP-12759.002.patch
          20 kB
          Daniel Templeton
        3. YARN-4664.001.patch
          13 kB
          Daniel Templeton

        Issue Links

          Activity

            People

              templedf Daniel Templeton
              templedf Daniel Templeton
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: