----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/45504/ -----------------------------------------------------------
Review request for samza. Repository: samza Description ------- This change introduces the measurement of disk usage for selected directories (currently those used by stores only). The feature is off by default, but can be enabled by setting "container.disk.poll.interval.ms" to a non-zero value. Diffs ----- samza-core/src/main/java/org/apache/samza/container/disk/DiskSpaceMonitor.java PRE-CREATION samza-core/src/main/java/org/apache/samza/container/disk/PollingScanDiskSpaceMonitor.java PRE-CREATION samza-core/src/main/scala/org/apache/samza/container/SamzaContainer.scala bcbc90a0a460f8733e6d3a50dbc33f3720cad7d0 samza-core/src/main/scala/org/apache/samza/container/SamzaContainerMetrics.scala 6fae6509d177cc3a54dac9ad1d3e5cc479f4a4f5 samza-core/src/test/java/org/apache/samza/container/disk/TestPollingScanDiskSpaceMonitor.java PRE-CREATION Diff: https://reviews.apache.org/r/45504/diff/ Testing ------- - Added tests for our disk space monitoring implementation. - Verified metrics are correctly reported and updated when enabling the feature - Verified metrics are not attached to the container when the feature is disabled Perf testing for this feature is still pending and is a requirement for this to be committed. Thanks, Chris Pettitt