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

LocalizerRunner should give DIE action when all resources are localized

    XMLWordPrintableJSON

Details

    Description

      We have observed that LocalizerRunner always gives a LIVE action at the end of localization process.

      The problem is findNextResource() can return null even when pending was not empty prior to the call. This method removes localized resources from pending, therefore we should check the return value, and gives DIE action when it returns null.

      Attachments

        1. YARN-3024.01.patch
          3 kB
          Chengbing Liu
        2. YARN-3024.02.patch
          4 kB
          Chengbing Liu
        3. YARN-3024.03.patch
          8 kB
          Chengbing Liu
        4. YARN-3024.04.patch
          15 kB
          Chengbing Liu

        Issue Links

          Activity

            People

              chengbing.liu Chengbing Liu
              chengbing.liu Chengbing Liu
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: