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

Fix UT failures in TestLeafQueue

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.3.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In ActivitiesManager, if there's no yarn configuration in mock RMContext, cleanup interval can't be initialized to 5 seconds by default, causing the cleanup thread keeps running repeatedly without interval which may bring problems to mockito framework, it caused OOM in this case, internally many throwable objects were generated by incomplete mock.
      Add configuration for mock RMContext to fix failures in TestLeafQueue.

        Attachments

        1. YARN-9658.001.patch
          1 kB
          Tao Yang

          Issue Links

            Activity

              People

              • Assignee:
                Tao Yang Tao Yang
                Reporter:
                Tao Yang Tao Yang
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: