You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Markus Weimer (JIRA)" <ji...@apache.org> on 2015/05/01 18:17:05 UTC

[jira] [Updated] (REEF-287) .NET Evaluator doesn't inform the Driver when it crashes early

     [ https://issues.apache.org/jira/browse/REEF-287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markus Weimer updated REEF-287:
-------------------------------
    Component/s: REEF.NET Evaluator

> .NET Evaluator doesn't inform the Driver when it crashes early
> --------------------------------------------------------------
>
>                 Key: REEF-287
>                 URL: https://issues.apache.org/jira/browse/REEF-287
>             Project: REEF
>          Issue Type: Bug
>          Components: REEF.NET Evaluator
>            Reporter: Markus Weimer
>
> As part of looking into [REEF-276], I discovered the following code in {{Evaluator.cs}}:
> {code}
> AppDomain.CurrentDomain.UnhandledException += UnhandledExceptionHandler;
> {code}
> and:
> {code}
> private static void UnhandledExceptionHandler(object sender, UnhandledExceptionEventArgs e)
>         {
>             Exception ex = default(Exception);
>             ex = (Exception)e.ExceptionObject;
>             _logger.Log(Level.Error, "Unhandled exception caught in Evaluator.", ex);
>             Exceptions.Throw(new InvalidOperationException("Unhandled exception caught in Evaluator.", ex), _logger);
>         }
> {code}
> This doesn't seem to inform the Driver of the failure. YARN eventually does, but won't be able to send the exception along. We should send the exception to the Driver before exiting here.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)