You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2017/05/07 16:57:04 UTC
[jira] [Created] (FLINK-6474) Potential loss of precision in 32 bit
integer multiplication
Ted Yu created FLINK-6474:
-----------------------------
Summary: 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
Reporter: 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)