Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.20.1, 0.20.2, 0.21.0
-
None
-
None
Description
The default ScriptBasedMapping implementation of DNSToSwitchMapping for determining cluster topology has some drawbacks. Principally, it forks to an OS-specific script.
This issue proposes two new Java implementations of DNSToSwitchMapping. TableMapping reads a two column text file that maps an IP or hostname to a rack ID. Ip4RangeMapping reads a three column text file where each line represents a start and end IP range plus a rack ID.
Attachments
Attachments
Issue Links
- is duplicated by
-
HADOOP-8091 Add a topology mapper that reads hostname to rack mappings from a Java properties file
- Resolved
- is related to
-
HADOOP-8628 TableMapping init sets initialized flag prematurely
- Resolved
-
HADOOP-8631 The description of net.topology.table.file.name in core-default.xml is misleading
- Resolved
-
HADOOP-8091 Add a topology mapper that reads hostname to rack mappings from a Java properties file
- Resolved
-
HADOOP-8231 Make topologies easier to set up and debug
- Open
-
HADOOP-8629 Add option for TableMapping to reload mapping file on match failure
- Resolved
- relates to
-
HADOOP-7423 Document topology script requirements
- Resolved