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 valueIOException
void flush() throws IOException
IOException
void sendReducedValuesToMaster(byte[] data) throws IOException
data
- Serialized reduced values dataIOException
void distributeReducedValues(Iterable<byte[]> reducedDataList) throws IOException
reducedDataList
- Serialized reduced values data split into chunksIOException
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.