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

Fix UT failures in TestLeafQueue

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.3.0
    • 3.3.0
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: