spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "liuxian (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-23391) It may lead to overflow for some integer multiplication
Date Mon, 12 Feb 2018 03:25:02 GMT
liuxian created SPARK-23391:
-------------------------------

             Summary: 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


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


Mime
View raw message