reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saikat Kanjilal <sxk1...@gmail.com>
Subject Re: Standalone HelloREEF
Date Tue, 25 Jul 2017 18:31:20 GMT
Hi Rogan,
Glad you could make this work, can we make sure the docs are updated to
reflect your steps for the next user?
Thanks

On Tue, Jul 25, 2017 at 11:16 AM, Rogan Carr <rogan.carr@gmail.com> wrote:

> Hi All,
>
> Just to update, I got this to be a stand-alone by doing two extra steps:
> 1) Adding the Org.Apache.REEF.Evaluator and TransientFaultHandling.Core
> nuget packages to the project
> 2) After building, copying
> packages/Org.Apache.REEF.Evaluator/tools/Org.Apache.REEF.Evaluator.exe to
> the build directory.
>
> After that, HelloREEF runs in standalone mode.
>
> Best,
> Rogan
>
>
> On Tue, Jul 25, 2017 at 10:58 AM, Rogan Carr <rogan.carr@gmail.com> wrote:
>
> > Hi Julia,
> >
> > Thanks for your help with this!
> >
> > Just so I understand, were the examples meant to be run independently of
> > the REEF codebase? Do we have any stand-alone examples for .NET?
> >
> > Best,
> > Rogan
> >
> > On Tue, Jul 25, 2017 at 10:53 AM, Julia Wang (QIUHE) <
> > Qiuhe.Wang@microsoft.com.invalid> wrote:
> >
> >> You should be able to find REEF.FatNuGet from
> >> https://msdata.visualstudio.com/AlgorithmsAndDataScience/_pa
> >> ckaging?feed=ApacheREEFDev&_a=feed. It just simply wraps all the REEF
> >> NuGet. But you can still use REEF individual NuGet separately.
> >>
> >> You can find 'Microsoft.Practices.TransientFaultHandling.Core.dll in
> the
> >> binary folder of Org.Apache.REEF.Client or Org.Apache.REEF.Wake as both
> >> projects reference it. Evaluator project itself doesn't really
> reference it
> >> directly. We probably need to add it as a NuGet dependency so that it
> will
> >> be auto populated. I will look at it.
> >>
> >> Julia
> >>
> >> -----Original Message-----
> >> From: Rogan Carr [mailto:rogan.carr@gmail.com]
> >> Sent: Tuesday, July 25, 2017 10:09 AM
> >> To: dev@reef.apache.org
> >> Subject: Re: Standalone HelloREEF
> >>
> >> Hi Julia,
> >>
> >> Thanks for your help!
> >>
> >> I can't seem to find REEF.FatNuGet. Do I need to use a special NuGet
> feed?
> >>
> >> When I include the Org.Apache.REEF.Evaluator.exe in the project,
> >> HelloREEF fails with this error:
> >> Unhandled Exception: Org.Apache.REEF.Tang.
> Exceptions.InjectionException:
> >> Could not invoke constructor: new
> >> Org.Apache.REEF.Wake.Remote.Impl.RemoteConnectionRetryHandle
> >> r(System.Int32
> >> Org.Apache.REEF.Wake.Remote.Parameters.ConnectionRetryCount = 20,
> >> System.Int32 Org.Apache.REEF.Wake.Remote.Parameters.SleepTimeInMs =
> 1000)
> >> ---> System.Reflection.TargetInvocationException: Exception has been
> >> ---> thrown
> >> by the target of an invocation. ---> System.IO.FileNotFoundException:
> >> Could not load file or assembly 'Microsoft.Practices.Transient
> >> FaultHandling.Core,
> >> Version=5.1.1209.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
> or
> >> one of its dependencies. The system cannot find the file specified.
> >>
> >> Thanks for your help!
> >>
> >> Best,
> >> Rogan
> >>
> >> On Mon, Jul 24, 2017 at 6:00 PM, Julia Wang (QIUHE) <
> >> Qiuhe.Wang@microsoft.com.invalid> wrote:
> >>
> >> > If you reference REEF.FatNuGet in your project, you should get all
> >> > required binaries.
> >> >
> >> > Julia
> >> > -----Original Message-----
> >> > From: Rogan Carr [mailto:rogan.carr@gmail.com]
> >> > Sent: Monday, July 24, 2017 5:55 PM
> >> > To: dev@reef.apache.org
> >> > Subject: RE: Standalone HelloREEF
> >> >
> >> > Hi Julia,
> >> >
> >> > I did not do that. I'll give that a try next.
> >> >
> >> > For the bigger picture, I was trying to build the project without any
> >> > manual steps — is it necessary to copy this exe along with all
> >> > REEF.NET applications?
> >> >
> >> > Thanks for your help!
> >> >
> >> > Best,
> >> > Rogan
> >> >
> >> >
> >> > On Jul 24, 2017 17:30, "Julia Wang (QIUHE)"
> >> > <Qiuhe.Wang@microsoft.com.invalid> wrote:
> >> >
> >> > Did you copy Org.Apache.REEF.Evaluator.exe in the folder where you run
> >> > HelloREEF?
> >> >
> >> > Julia
> >> >
> >> > -----Original Message-----
> >> > From: Rogan Carr [mailto:rogan.carr@gmail.com]
> >> > Sent: Monday, July 24, 2017 5:12 PM
> >> > To: dev@reef.apache.org
> >> > Subject: 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
> >> > 1) Clone reef from github
> >> > 2) Copy the HelloREEF to a new directory.
> >> > 3) Delete everything but the *.cs files
> >> > 4) In Visual Studio 2017, create a new project using the existing
> >> > files, install all the REEF.NET dependencies
> >> > 5) Compile
> >> >  - Org.Apache.REEF.Evaluator is not necessary
> >> > 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
> >> >
> >> > [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
> >> >
> >> > PS. This is a cross-post to user@reef.apache.org, but it didn't seem
> >> > to go through, so I'm posting here.
> >> >
> >>
> >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message