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] [Updated] (REEF-1387) Deprecate Forget in favor of LoggingHelper.LogAndIgnoreExceptionIfAny
Date Thu, 12 May 2016 18:33:13 GMT

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

Andrew Chung updated REEF-1387:
-------------------------------
    Description: Currently, {{Forget}} is just empty. If the preceding {{Task}} throws an
Exception, the Exception may crash the process if the user sets unobserved Task Exceptions
up to crash. We should use {{LoggingHelper.LogAndIgnoreExceptionIfAny}}, which observes the
Exception and logs the error.  (was: Currently, {{Forget}} is just empty. If the preceding
{{Task}} throws an Exception, the Exception may crash the process if the user sets unobserved
Task Exceptions up to crash. We should make it truly a fire-and-forget operation by catching
the Exception (and perhaps logging it).)

> Deprecate Forget in favor of LoggingHelper.LogAndIgnoreExceptionIfAny
> ---------------------------------------------------------------------
>
>                 Key: REEF-1387
>                 URL: https://issues.apache.org/jira/browse/REEF-1387
>             Project: REEF
>          Issue Type: Bug
>          Components: REEF.NET
>            Reporter: Andrew Chung
>            Assignee: Andrew Chung
>
> Currently, {{Forget}} is just empty. If the preceding {{Task}} throws an Exception, the
Exception may crash the process if the user sets unobserved Task Exceptions up to crash. We
should use {{LoggingHelper.LogAndIgnoreExceptionIfAny}}, which observes the Exception and
logs the error.



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

Mime
View raw message