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

# 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