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

[jira] [Updated] (SPARK-23358) When the number of partitions is greater than 2^28, it will result in an error result

     [ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org