[ https://issues.apache.org/jira/browse/YARN-7052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Eric Payne updated YARN-7052: ----------------------------- Description: In YARN-7051, we ran into a case where the preemption monitor thread hung with no indication of why. This was because the preemption monitor is started by the {{SchedulingExecutorService}} from {{SchedulingMonitor#serviceStart}}, and then nothing ever gets the result of the future or allows it to throw an exception if needed. At least with {{HadoopExecutor}}, it will provide a {{HadoopScheduledThreadPoolExecutor}} that logs the exception if one happens. was: In YARN-7051, we ran into a case where the preemption monitor thread hung with no indication of why. This was because the preemption monitor is started by the {{SchedulingExecutorService}} from {{SchedulingMonigor#serviceStart}}, and then nothing ever gets the result of the future or allows it to throw an exception if needed. At least with {{HadoopExecutor}}, it will provide a {{HadoopScheduledThreadPoolExecutor}} that logs the exception if one happens. > RM SchedulingMonitor should use HadoopExecutors when creating > ScheduledExecutorService > -------------------------------------------------------------------------------------- > > Key: YARN-7052 > URL: https://issues.apache.org/jira/browse/YARN-7052 > Project: Hadoop YARN > Issue Type: Bug > Components: yarn > Reporter: Eric Payne > > In YARN-7051, we ran into a case where the preemption monitor thread hung > with no indication of why. This was because the preemption monitor is started > by the {{SchedulingExecutorService}} from {{SchedulingMonitor#serviceStart}}, > and then nothing ever gets the result of the future or allows it to throw an > exception if needed. > At least with {{HadoopExecutor}}, it will provide a > {{HadoopScheduledThreadPoolExecutor}} that logs the exception if one happens. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org