[ 
https://issues.apache.org/jira/browse/SPARK-23358?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sean Owen resolved SPARK-23358.
-------------------------------
       Resolution: Fixed
    Fix Version/s: 2.3.0
                   2.2.2

Issue resolved by pull request 20544
[https://github.com/apache/spark/pull/20544]

> When the number of partitions is greater than 2^28, it will result in an 
> error result
> -------------------------------------------------------------------------------------
>
>                 Key: SPARK-23358
>                 URL: https://issues.apache.org/jira/browse/SPARK-23358
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.4.0
>            Reporter: liuxian
>            Assignee: liuxian
>            Priority: Major
>             Fix For: 2.2.2, 2.3.0
>
>
> In the `checkIndexAndDataFile`,the _blocks_ is the  _Int_ type,  when it is 
> greater than 2^28, `blocks*8` will overflow, and this will result in an error 
> result.
>  In fact, `blocks` is actually the number of partitions.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to