ShuffleReader
is a contract of shuffle readers to read combined key-value records for a reduce task.
package org.apache.spark.shuffle
trait ShuffleReader[K, C] {
def read(): Iterator[Product2[K, C]]
}
Note
|
ShuffleReader is a private[spark] contract.
|
Method | Description |
---|---|
|
Used when:
|
Note
|
BlockStoreShuffleReader is the one and only known ShuffleReader in Apache Spark. |