spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Apache Spark (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-23358) When the number of partitions is greater than 2^28, it will result in an error result
Date Mon, 12 Feb 2018 01:50:00 GMT

    [ https://issues.apache.org/jira/browse/SPARK-23358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16360211#comment-16360211
] 

Apache Spark commented on SPARK-23358:
--------------------------------------

User '10110346' has created a pull request for this issue:
https://github.com/apache/spark/pull/20581

> 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.3.0
>            Reporter: liuxian
>            Assignee: liuxian
>            Priority: Minor
>             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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message