spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Davidson (JIRA)" <>
Subject [jira] [Updated] (SPARK-983) Support external sorting for RDD#sortByKey()
Date Tue, 27 May 2014 21:54:04 GMT


Aaron Davidson updated SPARK-983:

    Assignee: Madhu Siddalingaiah

> Support external sorting for RDD#sortByKey()
> --------------------------------------------
>                 Key: SPARK-983
>                 URL:
>             Project: Spark
>          Issue Type: New Feature
>    Affects Versions: 0.9.0
>            Reporter: Reynold Xin
>            Assignee: Madhu Siddalingaiah
> Currently, RDD#sortByKey() is implemented by a mapPartitions which creates a buffer to
hold the entire partition, then sorts it. This will cause an OOM if an entire partition cannot
fit in memory, which is especially problematic for skewed data. Rather than OOMing, the behavior
should be similar to the [ExternalAppendOnlyMap|],
where we fallback to disk if we detect memory pressure.

This message was sent by Atlassian JIRA

View raw message