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

Delay during unregistering metrics is unnecessary

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Discovered while debugging YARN-9071

      Quoting billie.rinaldi

      I looked at YARN-3619, where the unregistration delay was added. It seems like this was added because unregistration was performed in getMetrics, which was causing a ConcurrentModificationException. However, unregistration was moved from getMetrics into the finished method (in the same patch), and this leads me to believe that the delay is never needed. I'm inclined to think we should remove the delay entirely, but would like to hear other opinions.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: