flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Yao <g...@data-artisans.com>
Subject Re: rest.port is reset to 0 by YarnEntrypointUtils
Date Wed, 18 Apr 2018 09:40:40 GMT
Hi Dongwon,

I think the rationale was to avoid conflicts between multiple Flink
instances
running on the same YARN cluster. There is a ticket that proposes to allow
configuring a port range instead [1].

Best,
Gary

[1] https://issues.apache.org/jira/browse/FLINK-5758

On Tue, Apr 17, 2018 at 9:56 AM, Dongwon Kim <eastcirclek@gmail.com> wrote:

> Hi,
>
> I'm trying to launch a dispatcher on top of YARN by executing
> "yarn-session.sh" on the command line.
>
> To access the rest endpoint outside the cluster, I need to assign a port
> from an allowed range.
>
> YarnEntrypointUtils, however, sets rest.port to 0 for random binding.
>
> Is there any reason on it?
>
>
> Best,
>
> - Dongwon

Mime
View raw message