You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Julia (JIRA)" <ji...@apache.org> on 2016/06/07 02:36:21 UTC

[jira] [Created] (REEF-1425) TaskClientCodeException override user task exceptions for TaskClose

Julia created REEF-1425:
---------------------------

             Summary: TaskClientCodeException override user task exceptions for TaskClose
                 Key: REEF-1425
                 URL: https://issues.apache.org/jira/browse/REEF-1425
             Project: REEF
          Issue Type: Bug
            Reporter: Julia
            Priority: Critical


Currently, in Task Close, Suspend and Deliver cases, all the exceptions throw from task in those methods are wrapped with TaskClientCodeException . This hides the user exception type, although we can still get the original exception from inner exception. 
User task can throw exceptions when receiving driver close event or driver messages. Those exceptions can be by design. For example, in IMRU fault tolerant scenario, driver sends close event for tasks to close. And tasks use different types of exceptions to represent different error types. So we would expect original exception serialized to driver. 



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