[
https://issues.apache.org/jira/browse/HADOOP-8928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13503032#comment-13503032
]
liang xie commented on HADOOP-8928:
-----------------------------------
IMHO, add the clear method to CachedDNSToSwitchMapping is enough, since only
*cache* class need to be clear, right?
I'll give a quick patch per Shinichi's design
> Add ability to reset topologies on master nodes
> -----------------------------------------------
>
> Key: HADOOP-8928
> URL: https://issues.apache.org/jira/browse/HADOOP-8928
> Project: Hadoop Common
> Issue Type: Improvement
> Components: net
> Reporter: Shinichi Yamashita
>
> For a topology decision of DataNode and TaskTracker, ScriptBasedMapping
> (probably TableMapping) confirms HashMap first.
> To decide topology of DataNode and TaskTracker again, it is necessary to
> restart NameNode and JobTracker.
> Therefore, it is necessary to change (or clear) HashMap function without
> restarting NameNode and JobTracker.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira