Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-8966

Need a state for Localized resources that indicates if the localization is in progress

    XMLWordPrintableJSON

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:

      1. 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
      2. 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.

      Attachments

        Issue Links

          Activity

            People

              csingh Chandni Singh
              csingh Chandni Singh
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: