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

RollingFileSystemSink should eagerly rotate directories

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 2.9.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Target Version/s:

      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.002.patch
          20 kB
          Daniel Templeton
        2. HADOOP-12759.003.patch
          20 kB
          Daniel Templeton
        3. YARN-4664.001.patch
          13 kB
          Daniel Templeton

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: