reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Weimer <mar...@weimo.de>
Subject Re: Log and throw exceptions.
Date Sun, 20 Dec 2015 16:54:18 GMT
On 2015-12-20 02:41, Dudoladov, Sergey wrote:
>> I like this approach, but would also like to have every exception
>> logged exactly once before it leaves the Evaluator.
>
> In REEF-864, we also intend to keep the cause  of each exception.
> Once this is done,  we may simply log each Evaluator exception and
> its trace just before the exception leaves an Evaluator. This should
> preserve all the info connected to failure.

+1

We might also want to wrap the exception at this point (and before 
logging it) with an Exception capturing important information about the 
Evaluator, e.g.

   * The name and IP of the machine
   * The name of the Evaluator
   * The current memory situation

Markus

Mime
View raw message