Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
3.3.0, 3.4.0
-
None
-
Reviewed
Description
Many thins can be improved:
- znodeParentPath could be a local variable
- zkManager could be private, VisibleForTesting annotation is not needed anymore
- Do something with unchecked casts
- zkManager.safeSetData calls are almost having the same set of parameters: Simplify this
- Extract zkManager calls to their own methods: They are repeated
- Remove TODOs
Attachments
Attachments
Issue Links
- is cloned by
-
YARN-9998 Code cleanup in LeveldbConfigurationStore
- Resolved