You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Robert Metzger (JIRA)" <ji...@apache.org> on 2017/05/08 15:44:04 UTC
[jira] [Updated] (FLINK-6474) Potential loss of precision in 32 bit
integer multiplication
[ https://issues.apache.org/jira/browse/FLINK-6474?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Metzger updated FLINK-6474:
----------------------------------
Component/s: Network
> Potential loss of precision in 32 bit integer multiplication
> ------------------------------------------------------------
>
> Key: FLINK-6474
> URL: https://issues.apache.org/jira/browse/FLINK-6474
> Project: Flink
> Issue Type: Bug
> Components: Network
> Reporter: Ted Yu
> Assignee: Ted Yu
> Priority: Minor
>
> In TaskManagerServicesConfiguration#parseNetworkEnvironmentConfiguration
> {code}
> if (!hasNewNetworkBufConf(configuration)) {
> // map old config to new one:
> networkBufMin = networkBufMax = numNetworkBuffers * pageSize;
> {code}
> networkBufMax is a long.
> However the multiplication is done in 32 bit integer, leading to potential loss of precision.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)