You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@reef.apache.org by Rogan Carr <ro...@gmail.com> on 2017/07/25 00:02:30 UTC

Standalone HelloREEF

Hi All,

I'm trying to build a standalone HelloREEF project for REEF.NET, but I keep
getting a failure that reef\global\Org.Apache.Reef.Evaluator.exe cannot be
found (see [1] for the log line).

My goal is to build a new REEF application, using this as an example.

Here's what I did:
1) Clone reef from github
2) Copy the HelloREEF to a new directory.
3) Delete everything but the *.cs files
4) Open VS2017, install all the REEF.NET dependencies

5) Compile

Best,
Rogan

[1] Log Line that causes the failure: SEVERE: Unable to spawn process
"Node-2-1500937223631" wth command
[reef\global\Org.Apache.Reef.Evaluator.exe, reef/local/evaluator.conf]
 Exception:java.io.IOException: Cannot run program
"reef\global\Org.Apache.Reef.Evaluator.exe" (in directory
"C:\Users\rogan\AppData\Local\Temp\reef-HelloREEF-20170724
160016854\Node-2-1500937223631"): CreateProcess error=2, The system cannot
find the file specified

Re: Standalone HelloREEF

Posted by Rogan Carr <ro...@gmail.com>.
Hi All,

I accidentally hit send too early. :)

Here's what I did:
1) Clone reef from github
2) Copy the HelloREEF to a new directory.
3) Delete everything but the *.cs files
4) Open VS2017, install all the REEF.NET dependencies
 - Org.Apache.REEF.Evaluator was not necessary
5) Compile
 - Works great
6) Run
 - `cd` into the bin\Debug\x64\ directory, execute `helloREEF.exe`
- Note that Org.REEF.Evaluator.exe.config is present in this directory, but
Org.REEF.Evaluator.exe is not.
7) Examine log files, find the failure notice.
8) Add Org.REEF.Evaluator.exe as a dependency to the project
9) Run again, and see the same failure

Can someone point me in the right direction? What's the appropriate way to
include this dependency?

Thanks for your help!

Best,
Rogan


On Mon, Jul 24, 2017 at 5:02 PM, Rogan Carr <ro...@gmail.com> wrote:

> Hi All,
>
> I'm trying to build a standalone HelloREEF project for REEF.NET, but I
> keep getting a failure that reef\global\Org.Apache.Reef.Evaluator.exe
> cannot be found (see [1] for the log line).
>
> My goal is to build a new REEF application, using this as an example.
>
> Here's what I did:
> 1) Clone reef from github
> 2) Copy the HelloREEF to a new directory.
> 3) Delete everything but the *.cs files
> 4) Open VS2017, install all the REEF.NET dependencies
>
> 5) Compile
>
> Best,
> Rogan
>
> [1] Log Line that causes the failure: SEVERE: Unable to spawn process
> "Node-2-1500937223631" wth command [reef\global\Org.Apache.Reef.Evaluator.exe,
> reef/local/evaluator.conf]
>  Exception:java.io.IOException: Cannot run program
> "reef\global\Org.Apache.Reef.Evaluator.exe" (in directory
> "C:\Users\rogan\AppData\Local\Temp\reef-HelloREEF-20170724
> 160016854\Node-2-1500937223631"): CreateProcess error=2, The system
> cannot find the file specified
>