[ 
https://issues.apache.org/jira/browse/HADOOP-8928?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13477915#comment-13477915
 ] 

Shinichi Yamashita commented on HADOOP-8928:
--------------------------------------------

The improvement necessary to clear topology cache is as follows.

1. Define method to clear cache in CachedDNSToSwitchMapping
2. Define method to call "1." from NameNode and JobTracker
3. Add a protocol about "2."
4. Add a method about cache clear to DFSAdmin and MRAdmin
5. Add cache clear command to hadoop script
                
> 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

Reply via email to