THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Prerequisites
You have compiled REEF locally and set the JAVA_HOME environment variable.
Running your first REEF program: Hello, REEF! (Java)
...
Code Block | ||||
---|---|---|---|---|
| ||||
> java -cp lang/java/reef-examples/target/reef-examples-{$REEF_VERSION}-incubating-SNAPSHOT-shaded.jar org.apache.reef.examples.hello.HelloREEF |
...
Code Block | ||||
---|---|---|---|---|
| ||||
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 |
...
Where's
...
the
...
output?
The local runtime simulates a cluster of machines: It executes each Evaluator in a separate process on your machine. Hence, the Evaluator that printed "Hello, REEF" is not executed in the same process as the program you launched above. So, how do you get to the output of the Evaluator? The local runtime creates one folder per job it executes in REEF_LOCAL_RUNTIME:
...