public class DefaultTopologyMapper extends TopologyMapper implements Logging
| Constructor and Description |
|---|
DefaultTopologyMapper(SparkConf conf) |
| Modifier and Type | Method and Description |
|---|---|
scala.Option<String> |
getTopologyForHost(String hostname)
Gets the topology information given the host name
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitializeLogging, initializeLogIfNecessary, initializeLogIfNecessary, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarningpublic DefaultTopologyMapper(SparkConf conf)
public scala.Option<String> getTopologyForHost(String hostname)
TopologyMappergetTopologyForHost in class TopologyMapperhostname - HostnameAn implementation can choose to use empty strings or None in case topology info is not available. This would imply that all such executors belong to the same rack.