You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "darion yaphet (JIRA)" <ji...@apache.org> on 2017/05/09 07:17:04 UTC

[jira] [Updated] (SPARK-20675) Support Index to skip when retrieval disk structure in CoGroupedRDD

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

darion yaphet updated SPARK-20675:
----------------------------------
    Description: 
CoGroupedRDD's compute() will retrieval each StreamBuffer(a disk structure maintains key-value pairs which sorted by key) and merge the same key into one

So I think add a sequence index file or append the index part at the head of temporary shuffle file to seek to the appropriate position could skip a lot of scan which are unnecessary.

> Support Index to skip when retrieval disk structure in CoGroupedRDD 
> --------------------------------------------------------------------
>
>                 Key: SPARK-20675
>                 URL: https://issues.apache.org/jira/browse/SPARK-20675
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 2.1.1
>            Reporter: darion yaphet
>
> CoGroupedRDD's compute() will retrieval each StreamBuffer(a disk structure maintains key-value pairs which sorted by key) and merge the same key into one
> So I think add a sequence index file or append the index part at the head of temporary shuffle file to seek to the appropriate position could skip a lot of scan which are unnecessary.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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