public abstract class TopologyMapper
extends Object
| Constructor and Description |
|---|
TopologyMapper(SparkConf conf) |
| Modifier and Type | Method and Description |
|---|---|
abstract scala.Option<String> |
getTopologyForHost(String hostname)
Gets the topology information given the host name
|
public TopologyMapper(SparkConf conf)
public abstract scala.Option<String> getTopologyForHost(String hostname)
hostname - 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.