You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "zhijiang (JIRA)" <ji...@apache.org> on 2019/05/21 09:01:00 UTC
[jira] [Created] (FLINK-12571) Make NetworkEnvironment#start()
return the binded data port
zhijiang created FLINK-12571:
--------------------------------
Summary: Make NetworkEnvironment#start() return the binded data port
Key: FLINK-12571
URL: https://issues.apache.org/jira/browse/FLINK-12571
Project: Flink
Issue Type: Sub-task
Components: Runtime / Network
Reporter: zhijiang
Assignee: zhijiang
Currently `NetworkEnvironment#getConnectionManager()` is mainly used for `TaskManagerServices` for getting binded data port from `NettyConnectionManager`. Considering the `ConnectionManager` as an internal component of `NetworkEnvironment`, it should not be exposed for outsides. For other ShuffleService implementations, it might have no `ConnectionManager` at all.
We could make `ShuffleService#start()` return the binded data port to replace the `getConnectionManager`. For the `LocalConnectionManager` or other shuffle service implementations which have no binded data port, it could return a simple default value and it would have no harm.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)