Tao Yang created YARN-9658:
------------------------------

             Summary: UT failures in TestLeafQueue
                 Key: YARN-9658
                 URL: https://issues.apache.org/jira/browse/YARN-9658
             Project: Hadoop YARN
          Issue Type: Bug
            Reporter: Tao Yang
            Assignee: Tao Yang


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 a default value for ActivitiesManager#activitiesCleanupIntervalMs to avoid 
cleanup thread running repeatedly without interval.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to