Details
-
Improvement
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
2.8.0
-
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.