You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2018/02/12 14:54:00 UTC
[jira] [Resolved] (SPARK-23391) It may lead to overflow for some
integer multiplication
[ https://issues.apache.org/jira/browse/SPARK-23391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen resolved SPARK-23391.
-------------------------------
Resolution: Fixed
Fix Version/s: 2.3.0
2.2.2
Issue resolved by pull request 20581
[https://github.com/apache/spark/pull/20581]
> It may lead to overflow for some integer multiplication
> --------------------------------------------------------
>
> Key: SPARK-23391
> URL: https://issues.apache.org/jira/browse/SPARK-23391
> Project: Spark
> Issue Type: Bug
> Components: Spark Core
> Affects Versions: 2.3.0
> Reporter: liuxian
> Assignee: liuxian
> Priority: Minor
> Fix For: 2.2.2, 2.3.0
>
>
> In the {{getBlockData}},{{blockId.reduceId}} is the {{Int}} type, when it is greater than 2^28, {{blockId.reduceId*8}} will overflow.
> In the _decompress0, len_ and _unitSize are {{Int}}_ type, so _len * unitSize_ may lead to overflow
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org