You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Tao Yang (JIRA)" <ji...@apache.org> on 2019/07/01 07:34:00 UTC

[jira] [Created] (YARN-9658) UT failures in TestLeafQueue

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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org