tree: 9cff077fe95fcb6b0dcf596813660ff83a0b02ed [path history] [tgz]
  1. AllHandlers.cs
  2. AnotherHelloAllocatedEvaluatorHandler.cs
  3. HelloActiveContextHandler.cs
  4. HelloAllocatedEvaluatorHandler.cs
  5. HelloCompletedEvaluatorHandler.cs
  6. HelloDriverRestartActiveContextHandler.cs
  7. HelloDriverRestartRunningTaskHandler.cs
  8. HelloDriverStartHandler.cs
  9. HelloFailedEvaluatorHandler.cs
  10. HelloFailedTaskHandler.cs
  11. HelloHttpHandler.cs
  12. HelloRestartHandler.cs
  13. HelloRunningTaskHandler.cs
  14. HelloTaskCompletedHandler.cs
  15. HelloTaskMessageHandler.cs
  16. HelloTraceListener.cs
  17. Org.Apache.REEF.Examples.AllHandlers.csproj
  18. Properties/
  19. Readme.md
  20. packages.config
lang/cs/Org.Apache.REEF.Examples.AllHandlers/Readme.md

# AllHandlers This project contains an example of a REEF Program. It contains the following classes:

  • AllHandlers: This is the program that submits the driver to the local runtime.
  • HelloDriverStartHandler: The Driver requests 2 Evaluators.
  • HelloAllocatedEvaluatorHandler : The handler that submit Context and Tasks
  • HelloActiveContextHandler : The handler that submit Tasks to Context
  • HelloHttpHandler : The handler that handles http requests
  • HelloRunningTaskHandler : The handler that send messages to Running Task
  • HelloTaskMessageHandler : The handler that receives task messages
  • Other handler samples
  • HelloTask: This Task prints a greeting to STDOUT of the Evaluator.

Running it

Just run the main class, AllHandlers, followed by the runtime you want, e.g. local and the run time folder e.g. ‘REEF_LOCAL_RUNTIME’. If you don't specify the run time parameters, default will be used. e.g. AllHandlers.exe local REEF_LOCAL_RUNTIME or AllHandler.exe