[ https://issues.apache.org/jira/browse/YARN-9584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhankun Tang updated YARN-9584: ------------------------------- Fix Version/s: (was: 3.1.2) (was: 3.0.3) (was: 3.0.0) 3.1.3 3.2.1 > Should put initializeProcessTrees method call before get pid > ------------------------------------------------------------ > > Key: YARN-9584 > URL: https://issues.apache.org/jira/browse/YARN-9584 > Project: Hadoop YARN > Issue Type: Bug > Components: nodemanager > Affects Versions: 3.2.0, 3.0.3, 3.1.2 > Reporter: Wanqiang Ji > Assignee: Wanqiang Ji > Priority: Critical > Fix For: 3.3.0, 3.2.1, 3.1.3 > > Attachments: YARN-9584.001.patch > > > In ContainerMonitorImpl#MonitoringThread.run method had a logical error that > get pid first then initialize uninitialized process trees. > {code:java} > String pId = ptInfo.getPID(); > // Initialize uninitialized process trees > initializeProcessTrees(entry); > if (pId == null || !isResourceCalculatorAvailable()) { > continue; // processTree cannot be tracked > } > {code} -- 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