You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@reef.apache.org by "Sergiy Matusevych (JIRA)" <ji...@apache.org> on 2016/09/23 00:45:20 UTC

[jira] [Created] (REEF-1575) Get rid of global exception handlers and other process-global features in REEF

Sergiy Matusevych created REEF-1575:
---------------------------------------

             Summary: Get rid of global exception handlers and other process-global features in REEF
                 Key: REEF-1575
                 URL: https://issues.apache.org/jira/browse/REEF-1575
             Project: REEF
          Issue Type: Sub-task
          Components: REEF, REEF Driver, REEF Evaluator, REEF-Common, Wake
            Reporter: Sergiy Matusevych
            Assignee: Sergiy Matusevych


Current implementation or REEF assumes that it has full control over the (JVM) process it is running in. For instance, we use global exception handlers to intercept all uncaught REEF exceptions, and use ad-hoc calls to {{System.exit()}}. This is not acceptable when REEF cohabits a JVM process with other applications. We need to refactor and clean-up REEF code to make sure that all REEF components (most importantly, Driver and Evaluator) have single entry and exit points and its error handling, resource management, and clean-up procedures do not leak resources or interfere with other threads in the same process.



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