[REEF-1778] Ensure ITask.Dispose() is executed

This moves the reporting of the result of a task *after* the call to `Dispose`
on that task to ensure execution of that method.

To do so, I made the calls to the task start and stop handlers explicit, and
kept track of the exceptions thrown and need to send a result in the
`TaskRuntime`.

Also, this fixes a bug in `TaskRuntimeTests` which did not wait for the
spawned thread to finish before validation of the test results.

JIRA:
  [REEF-1778](https://issues.apache.org/jira/browse/REEF-1778)

Pull Request:
  This closes #1293
3 files changed
tree: a339077679990cdec7f52b09f7feb00c4f8f6e9e
  1. bin/
  2. dev/
  3. lang/
  4. website/
  5. .gitattributes
  6. .gitignore
  7. .travis.yml
  8. appveyor.yml
  9. Doxyfile
  10. HEADER
  11. LICENSE
  12. NOTICE
  13. pom.xml
  14. README.md
README.md

Apache REEF™

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.

Online Documentation

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.

Build Status

ComponentOSStatus
REEF JavaUbuntuBuild Status
REEF.NETWindowsBuild status

Building REEF

Java.NET
Build & run unit testsjava\BUILD.mdcs\BUILD.md

Releases

downloads NuGet package

License

Apache 2.0