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

Jiandan Yang  commented on HDFS-12390:
--------------------------------------

[~aw] Rewriting the script to Java will not  starts child process? Could you 
give me more details?

> Support to refresh DNS to switch mapping
> ----------------------------------------
>
>                 Key: HDFS-12390
>                 URL: https://issues.apache.org/jira/browse/HDFS-12390
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>          Components: hdfs, hdfs-client
>            Reporter: Jiandan Yang 
>            Assignee: Jiandan Yang 
>         Attachments: HDFS-12390.001.patch, HDFS-12390.002.patch, 
> HDFS-12390-branch-2.8.2.001.patch
>
>
> As described in 
> [HDFS-12200|https://issues.apache.org/jira/browse/HDFS-12200], 
> ScriptBasedMapping may lead to NN cpu 100%. ScriptBasedMapping run 
> sub_processor to get rack info of DN/Client, so we think  it's a little 
> heavy.  We prepare to use TableMappingļ¼Œbut  TableMapping does not support 
> refresh and can not reload rack info of newly added DataNodes.
> So we implement refreshDNSToSwitch in dfsadmin.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to