reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Chung (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (REEF-287) .NET Evaluator doesn't inform the Driver when it crashes early
Date Tue, 03 May 2016 16:43:13 GMT

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

Andrew Chung resolved REEF-287.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 0.15

> .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
>             Fix For: 0.15
>
>
> 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)

Mime
View raw message