Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
Refer YARN-8867.
Following are some existing limitations in the code of ResourceLocalizationService and LocalizedResource that makes it difficult to differentiate the resources which are queued from the ones for which localization is in progress:
- LocalizedResource state does not differentiate between resources that are queued and the ones which are actually in-progress. For both of them, the state is DOWNLOADING
- In ResourceLocalizationService.LocalizerRunner, the pending collection holds the resources that are queued as well as submitted. Items from this list is not removed even when they are submitted. They are removed only when the state changes from DOWNLOADING to localized or localization failed.