flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Metzger <rmetz...@apache.org>
Subject Re: Setting number of TaskManagers
Date Thu, 25 Aug 2016 18:22:22 GMT
Hi Craig,

For the YARN session, you have to pass the the number of taskManagers using
the -n argument.
if you need to use a n environment variable, you can create a custom script
calling the yarn-session.sh script and passing the value of the env
variable to the script.

Regards,
Robert




On Wed, Aug 24, 2016 at 9:11 PM, Foster, Craig <foscraig@amazon.com> wrote:

> Oh, sorry, I didn't specify I was using YARN and don't necessarily want to
> specify with the command line option.
>
>
>
> *From: *Greg Hogan <code@greghogan.com>
> *Reply-To: *"user@flink.apache.org" <user@flink.apache.org>
> *Date: *Wednesday, August 24, 2016 at 12:07 PM
> *To: *"user@flink.apache.org" <user@flink.apache.org>
> *Subject: *Re: Setting number of TaskManagers
>
>
>
> The number of TaskManagers will be equal to the number of entries in the
> conf/slaves file.
>
>
>
> On Wed, Aug 24, 2016 at 3:04 PM, Foster, Craig <foscraig@amazon.com>
> wrote:
>
> Is there a way to set the number of TaskManagers using a configuration
> file or environment variable? I'm looking at the docs for it and it says
> you can set slots but not the number of TMs.
>
>
>
> Thanks,
>
> Craig
>
>
>

Mime
View raw message