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:30:00 UTC

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

liuxian created SPARK-23358:
-------------------------------

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


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