public class MapOutputTrackerMaster extends MapOutputTracker
Constructor and Description |
---|
MapOutputTrackerMaster(SparkConf conf) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsShuffle(int shuffleId)
Check if the given shuffle is being tracked
|
byte[] |
getSerializedMapOutputStatuses(int shuffleId) |
void |
incrementEpoch() |
void |
registerMapOutput(int shuffleId,
int mapId,
MapStatus status) |
void |
registerMapOutputs(int shuffleId,
MapStatus[] statuses,
boolean changeEpoch)
Register multiple map output information for the given shuffle
|
void |
registerShuffle(int shuffleId,
int numMaps) |
void |
stop()
Stop the tracker.
|
void |
unregisterMapOutput(int shuffleId,
int mapId,
BlockManagerId bmAddress)
Unregister map output information of the given shuffle, mapper and block manager
|
void |
unregisterShuffle(int shuffleId)
Unregister shuffle data
|
deserializeMapStatuses, getEpoch, getServerStatuses, serializeMapStatuses, trackerActor, updateEpoch
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
public MapOutputTrackerMaster(SparkConf conf)
public void registerShuffle(int shuffleId, int numMaps)
public void registerMapOutput(int shuffleId, int mapId, MapStatus status)
public void registerMapOutputs(int shuffleId, MapStatus[] statuses, boolean changeEpoch)
public void unregisterMapOutput(int shuffleId, int mapId, BlockManagerId bmAddress)
public void unregisterShuffle(int shuffleId)
unregisterShuffle
in class MapOutputTracker
public boolean containsShuffle(int shuffleId)
public void incrementEpoch()
public byte[] getSerializedMapOutputStatuses(int shuffleId)
public void stop()
MapOutputTracker
stop
in class MapOutputTracker