Re: Assigning a port range to rest.port

2018-12-05 Thread Gyula Fóra
Thank you Till :) Gy Till Rohrmann ezt írta (időpont: 2018. dec. 5., Sze, 16:20): > Hi Gyula and Jeff, > > I think at the moment it is not possible to define a port range for the > REST client. Maybe we should add something similar to the > RestOptions#BIND_ADDRESS, namely introducing a

Re: Assigning a port range to rest.port

2018-12-05 Thread Till Rohrmann
Hi Gyula and Jeff, I think at the moment it is not possible to define a port range for the REST client. Maybe we should add something similar to the RestOptions#BIND_ADDRESS, namely introducing a RestOptions#BIND_PORT which can define a port range for the binding port. RestOptions#PORT will only

Re: Assigning a port range to rest.port

2018-12-05 Thread Gyula Fóra
Maybe the problem is here? cc Till https://github.com/apache/flink/blob/44ed5ef0fc1c221f3916ab5126f1bc8ee5dfb45d/flink-yarn/src/main/java/org/apache/flink/yarn/entrypoint/YarnEntrypointUtils.java#L83

Re: Assigning a port range to rest.port

2018-12-05 Thread Jeff Zhang
This requirement makes sense to me. Another issue I hit due to single value of rest port is that user can not start 2 local MiniCluster, I try to start 2 flink scala-shell in local mode, but fails due to port conflict. Gyula Fóra 于2018年12月5日周三 下午8:04写道: > Hi! > Is there any way currently to

Assigning a port range to rest.port

2018-12-05 Thread Gyula Fóra
Hi! Is there any way currently to set a port range for the rest client? rest.port only takes a single number and it is anyways overwritten to 0. This seems to be necessary when running the flink client from behind a firewall where only a predefined port-range is accessible from the outside. I