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

liuxian updated SPARK-23358:
----------------------------
    Description: 
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.

  was:
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.


> 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
>            Priority: Major
>
> 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