[REEF-1615] Add unit tests and improve logging for `REEFEnvironment` functionality

This is work towards [REEF-1561](https://issues.apache.org/jira/browse/REEF-1561) *REEF as a library* project.

Some unit tests in `REEFEnvironmentFailDriverTest` are currently commented out due to the
[REEF-1637](https://issues.apache.org/jira/browse/REEF-1637) issue (Driver does not receive Evaluator heartbeats).

Summary of changes:
   * Create unit tests for failures on different stages of REEF Driver life cycle;
   * Create a version of `HelloREEF` example for `REEFEnvironment`;
   * Improve in `TestUtils` to handle in-process jobs;
   * Get rid of checkstyle warnings in `FailDriver`;
   * Comment out singleton assertion in `Evaluators`: it is no longer true in `REEFEnvironment` setting;
   * Add a TODO note for Evaluator singleton assertion;
   * Add `.toString()` methods to some events for better logging and debuggability;
   * Minor fixes to improve logging and code readability.

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

Pull Request:
  This closes #1152
8 files changed
tree: a4480659870ec842d6f855413a65869837d99584
  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