[ https://issues.apache.org/jira/browse/YARN-9658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tao Yang updated YARN-9658: --------------------------- 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. was: 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. > 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 > Priority: Minor > Attachments: YARN-9658.001.patch > > > 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. -- 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