Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Prerequisites

You have compiled REEF locally and set the JAVA_HOME environment variable.

Running your first REEF program: Hello, REEF! (Java)

...

Code Block
languagebash
titleRUN
> java -cp lang/java/reef-examples/target/reef-examples-{$REEF_VERSION}-incubating-SNAPSHOT-shaded.jar org.apache.reef.examples.hello.HelloREEF

...

Code Block
languagebash
titleOUTPUT
Powered by
     ___________  ______  ______  _______
    /  ______  / /  ___/ /  ___/ /  ____/
   /     _____/ /  /__  /  /__  /  /___
  /  /\  \     /  ___/ /  ___/ /  ____/
 /  /  \  \   /  /__  /  /__  /  /
/__/    \__\ /_____/ /_____/ /__/

...
INFO: REEF Version: 0.14.0-incubating-SNAPSHOT
...
INFO: The Job HelloREEF is running.
...
INFO: The Job HelloREEF is done.
...
INFO: REEF job completed: COMPLETED

...