public interface BlockMasterApi extends MasterAggregatorUsage, MasterGlobalCommUsage, StatusReporter, BlockApi, BlockOutputApi
Modifier and Type | Method and Description |
---|---|
<T extends org.apache.hadoop.io.Writable> |
broadcast(T value)
Broadcast given value to all workers for next computation.
|
void |
logToCommandLine(String line)
Call this to log a line to command line of the job.
|
<A extends org.apache.hadoop.io.Writable> |
registerPersistentAggregator(String name,
Class<? extends Aggregator<A>> aggregatorClass)
Deprecated.
|
registerAggregator, setAggregatedValue
getAggregatedValue
broadcast, getReduced, registerReducer, registerReducer
getCounter, progress, setStatus
getTotalNumEdges, getTotalNumVertices, getWorkerCount
getConf
getOutputDesc, getWriter
@Deprecated <A extends org.apache.hadoop.io.Writable> boolean registerPersistentAggregator(String name, Class<? extends Aggregator<A>> aggregatorClass) throws InstantiationException, IllegalAccessException
registerPersistentAggregator
in interface MasterAggregatorUsage
A
- Aggregator typename
- of aggregatoraggregatorClass
- Class type of the aggregatorInstantiationException
IllegalAccessException
<T extends org.apache.hadoop.io.Writable> BroadcastHandle<T> broadcast(T value)
value
- Value to broadcastvoid logToCommandLine(String line)
line
- Line to printCopyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.