Details
Description
Many things can be improved:
- Field compactionTimer could be a local variable
- Field versiondb should be camelcase
- initDatabase is a very long method: Initialize db / versionDb should be in separate methods, split this method into smaller chunks
- Remove TODOs
- Remove duplicated code block in LeveldbConfigurationStore.CompactionTimerTask
- Any other cleanup
Attachments
Attachments
Issue Links
- is a clone of
-
YARN-9997 Code cleanup in ZKConfigurationStore
-
- Resolved
-
- is cloned by
-
YARN-10189 Code cleanup in LeveldbRMStateStore
-
- Resolved
-