[ 
https://issues.apache.org/jira/browse/HADOOP-7030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Patrick Angeles updated HADOOP-7030:
------------------------------------

    Attachment: HADOOP-7030-2.patch

Updated patch that introduces the RefreshableDNSToSwitchMapping interface which 
adds a 'refresh' method to DNSToSwitchMapping. This can be used later as a hook 
for 'hadoop (dfs|mr)admin -refreshNodes' to update the topology without 
restarting the cluster.

> new topology mapping implementations
> ------------------------------------
>
>                 Key: HADOOP-7030
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7030
>             Project: Hadoop Common
>          Issue Type: New Feature
>    Affects Versions: 0.20.1, 0.20.2, 0.21.0
>            Reporter: Patrick Angeles
>         Attachments: HADOOP-7030-2.patch, HADOOP-7030.patch, topology.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Reply via email to