reef-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Saikat Kanjilal <sxk1...@gmail.com>
Subject Re: Launching reef evaluators, continuation of reef-1791
Date Wed, 29 Nov 2017 00:57:44 GMT
Never mind, figured it out :).
Thanks

On Mon, Nov 27, 2017 at 8:28 PM, Saikat Kanjilal <sxk1969@gmail.com> wrote:

> Hi Reef Experts,
> Am getting back into implementing and testing reef-1791 finally again
> based on the last PR feedback from Sergiy, had a contextual question I am
> looking at some code to reuse to launch the reef evaluators that looks
> something like the following:
>
> final REEFLauncher launcher = getREEFLauncher(args[0]);
>
> Thread.setDefaultUncaughtExceptionHandler(new REEFUncaughtExceptionHandler(launcher.envConfig));
>
> try (final REEFEnvironment reef = REEFEnvironment.fromConfiguration(launcher.envConfig))
{
>   reef.run();
> }
>
> I am wondering whether there are other more efficient ways to launch the REEF Evaluators
other than driven off a configuration file.  In thinking about this some more I'd ideally
want to launch the evalutors using a dynamic configuration.
>
> I looked through the REEF Common code and didn't see anything, my goal is to launch the
REEF Evaluators in the spark runtime piggybacking off of the spark internal configs.
>
> Thanks in advance for your help.
>
>

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