[
https://issues.apache.org/jira/browse/AURORA-366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13983686#comment-13983686
]
Maxim Khutornenko commented on AURORA-366:
------------------------------------------
The UncaughtExceptionHandler wired in AppLauncherModule as a default thread
handler does not help with java executors as thread pool threads do not
terminate on failure. Need to use a different approach here [1] to make sure
unhandled errors are still logged.
http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ThreadPoolExecutor.html#afterExecute(java.lang.Runnable,
java.lang.Throwable)
> ScheduledThreadPoolExecutor in AsyncModule does not log unhandled errors.
> -------------------------------------------------------------------------
>
> Key: AURORA-366
> URL: https://issues.apache.org/jira/browse/AURORA-366
> Project: Aurora
> Issue Type: Bug
> Components: Scheduler
> Reporter: Maxim Khutornenko
> Priority: Critical
>
> The ScheduledThreadPoolExecutor in AsyncModule needs to log unhandled errors
> similar to how it's done in SlaModule.
--
This message was sent by Atlassian JIRA
(v6.2#6252)