...
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.1014.0-incubating-SNAPSHOT
...
INFO: The Job HelloREEF is running.
...
INFO: The Job HelloREEF is done.
...
INFO: REEF job completed: COMPLETED |
...
Code Block |
---|
|
> cd REEF_LOCAL_RUNTIME
> ls Hello*
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 110/2612/2015 117:2153 AM HelloREEF-13754823384681444603999205 |
The job folder names are comprised of the job's name (here, HelloREEF
) and the time stamp of its submission (here, 1375482338468
1444603999205). If you submit the same job multiple times, you will get multiple folders here. Let's move on:
Code Block |
---|
|
> cd HelloREEF-13754823384681444603999205
> ls
Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 1 10/2612/2015 117:2153 AM driver
d---- 1 10/2612/2015 117:2153 AM Node-12-13754823392661444604000469 |
Inside of the job's folder, you will find one folder for the job's Driver (named driver
) and one per Evaluator. Their name comprises of the virtual node simulated by the local runtime (here, Node-12
) followed by the time stamp of when this Evaluator was allocated on that node, here 1375482339266
1444604000469. As the HelloREEF example program only allocated one Evaluator, we only see one of these folders here. Let's peek inside:
Code Block |
---|
|
> cd Node-12-13754823392661444604000469
> ls evaluator*
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a--- 1 10/2612/2015 117:2153 AM 1303 2690 evaluator.stderr
-a--- 110/2612/2015 117:2153 AM 14 evaluator.stdout |
evaluator.stderr
contains the output on stderr
of this Evaluator, which mostly consists of logs helpful in debugging. evaluator.stdout
contains the output on stdout
. And, sure enough, this is where you find the "Hello, REEF!" message.
...