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

lyc commented on SPARK-20675:
-----------------------------

What do you mean `StreamBuffer`? In commit `6d05c1` (at  Jun 1/17), there is 
only `ExternalAppendOnlyMap` and the computation seems only compute the 
specific partition, there are not any redundancy

> 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