public interface WorkerAggregatorRequestProcessor
| Modifier and Type | Method and Description |
|---|---|
void |
distributeReducedValues(Iterable<byte[]> reducedDataList)
Sends reduced values to all other workers
|
void |
flush()
Flush aggregated values cache.
|
boolean |
sendReducedValue(String name,
org.apache.hadoop.io.Writable reducedValue)
Sends worker reduced value to the owner of reducer
|
void |
sendReducedValuesToMaster(byte[] data)
Sends reduced values to the master.
|
boolean sendReducedValue(String name, org.apache.hadoop.io.Writable reducedValue) throws IOException
name - Name of the reducerreducedValue - Reduced partial valueIOExceptionvoid flush()
throws IOException
IOExceptionvoid sendReducedValuesToMaster(byte[] data)
throws IOException
data - Serialized reduced values dataIOExceptionvoid distributeReducedValues(Iterable<byte[]> reducedDataList) throws IOException
reducedDataList - Serialized reduced values data split into chunksIOExceptionCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.