You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Thomas Graves (JIRA)" <ji...@apache.org> on 2016/10/10 15:58:20 UTC

[jira] [Resolved] (SPARK-17417) Fix sorting of part files while reconstructing RDD/partition from checkpointed files.

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

Thomas Graves resolved SPARK-17417.
-----------------------------------
       Resolution: Fixed
         Assignee: Dhruve Ashar
    Fix Version/s: 2.1.0
                   2.0.2

> Fix sorting of part files while reconstructing RDD/partition from checkpointed files.
> -------------------------------------------------------------------------------------
>
>                 Key: SPARK-17417
>                 URL: https://issues.apache.org/jira/browse/SPARK-17417
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 1.6.0, 2.0.0
>            Reporter: Dhruve Ashar
>            Assignee: Dhruve Ashar
>             Fix For: 2.0.2, 2.1.0
>
>
> Spark currently assumes # of partitions to be less than 100000 and uses %05d padding. 
> If we exceed this no., the sort logic in ReliableCheckpointRDD gets messed up and fails. This is because of part-files are sorted and compared as strings. 
> This leads filename order to be part-10000, part-100000, ... instead of part-10000, part-10001, ..., part-100000 and while reconstructing the checkpointed RDD the job fails. 
> Possible solutions: 
> - Bump the padding to allow more partitions or
> - Sort the part files extracting a sub-portion as string and then verify the RDD



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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