Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
Implement the `OpenKeyCleanupService` class, and start and stop the service in `KeyManagerImpl`. The following configurations will be added to specify the service's behavior:
- ozone.open.key.cleanup.service.interval: Frequency the service should run.
- ozone.open.key.expire.threshold: Time from creation after which an open key is deemed expired.
- ozone.open.key.cleanup.limit.per.task: Maximum number of keys the service can mark for deletion on each run.
Default values for these configurations will be chosen from HDFS data.