You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Piotr Nowojski (JIRA)" <ji...@apache.org> on 2019/04/12 08:33:00 UTC
[jira] [Closed] (FLINK-12067) Refactor the constructor of
NetworkEnvironment
[ https://issues.apache.org/jira/browse/FLINK-12067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Piotr Nowojski closed FLINK-12067.
----------------------------------
Resolution: Fixed
Fix Version/s: 1.9.0
merged commit 352a995 into apache:master
> Refactor the constructor of NetworkEnvironment
> ----------------------------------------------
>
> Key: FLINK-12067
> URL: https://issues.apache.org/jira/browse/FLINK-12067
> Project: Flink
> Issue Type: Sub-task
> Components: Runtime / Network
> Reporter: zhijiang
> Assignee: zhijiang
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.9.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> The constructor of {{NetworkEnvironment}} could be refactored to only contain {{NetworkEnvironmentConfiguration}}, the other related components such as {{TaskEventDispatcher}}, {{ResultPartitionManager}}, {{NetworkBufferPool}} could be created internally.
> We also refactor the process of generating {{NetworkEnvironmentConfiguration}} in {{TaskManagerServiceConfiguration}} to add {{numNetworkBuffers}} instead of previous {{networkBufFraction}}, {{networkBufMin}}, {{networkBufMax}}.
> Further we introduce the {{NetworkEnvironmentConfigurationBuilder}} for creating {{NetworkEnvironmentConfiguration}} easily especially for tests.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)