commit | abba4735b8a7d3932e1b9482bce3b06019cd4f24 | [log] [tgz] |
---|---|---|
author | Julia Wang <juliaw@apache.org> | Thu Dec 15 14:36:40 2016 -0800 |
committer | Mariia Mykhailova <mariia@apache.org> | Tue Dec 20 15:06:01 2016 -0800 |
tree | b6f0005cf38de05cd71a330b8d34b8a12b73b6f3 | |
parent | 415bb9eb3dabf93153a20c462c80eb71b679e342 [diff] |
[REEF-1492] Properly handle exception in ResultHandler.Dispose() This change fixes several issues related to ResultHandler.Dispose(): * The sample implementation of ResultHandler uploads local file to remote in Dispose method, which is not a good behavior. In recovery scenarios, Dispose can be called in each retry with no result written to local file yet. Upload should only be done after the result is written to the local file. * Dispose method should release resources only and not contain complex logic to reduce the chance of its failure. * ResultHandler.Dispose() is called in FinallyBlock() method in TaskHost. It should be called in Task.Dispose to share exception handling logic with Task.Dispose(). JIRA: [REEF-1492](https://issues.apache.org/jira/browse/REEF-1492) Pull request: This closes #1205
Apache REEF™ (Retainable Evaluator Execution Framework) is a library for developing portable applications for cluster resource managers such as Apache Hadoop YARN or Apache Mesos. For example, Microsoft Azure Stream Analytics is built on REEF and Hadoop.
Detailed information on REEF can be found in the following places:
The developer mailing list is the best way to reach REEF‘s developers when the above aren’t sufficient.
Component | OS | Status |
---|---|---|
REEF Java | Ubuntu | |
REEF.NET | Windows |
Java | .NET | |
---|---|---|
Build & run unit tests | java\BUILD.md | cs\BUILD.md |