You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2018/02/12 03:29:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16360263#comment-16360263 ] 

Apache Spark commented on SPARK-23391:
--------------------------------------

User '10110346' has created a pull request for this issue:
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
>            Priority: Major
>
> 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