[ 
https://issues.apache.org/jira/browse/FLINK-14700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Metzger updated FLINK-14700:
-----------------------------------
    Component/s: Test Infrastructure

> Consider to set the random listen port in e2e flink cluster.
> ------------------------------------------------------------
>
>                 Key: FLINK-14700
>                 URL: https://issues.apache.org/jira/browse/FLINK-14700
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Test Infrastructure
>            Reporter: Zheng Hu
>            Priority: Major
>
> Have a discussion with [~chesnay] in PR 
> https://github.com/apache/flink/pull/10106 , we plan to set the ports of e2e 
> testing flink cluster to be 0,  which means it will select the port randomly 
> to bind & listen.  That would be helpful to avoid port conflicts when running 
> parallel e2e tests.   But that need some way to find the listen port because 
> the tests will wait the port to be available ( by requesting to the port 
> repeatably).  we discussed the three ways to find the port: 
> 1.  Sweep the listening ports; 
> 2.  MiniCluster pre-check the available ports and choose one to listen , then 
> persist the port to flink-conf.xml; 
> 3.  A regular parser to extract the binded port in log messages; 
> ...
> Anyway,  filed the issue to address the things here,  will try to fix it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to