[ 
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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to