You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Wei-Chiu Chuang (JIRA)" <ji...@apache.org> on 2019/07/08 08:03:00 UTC
[jira] [Commented] (HDFS-14635) Support to refresh the rack
awareness dynamically
[ https://issues.apache.org/jira/browse/HDFS-14635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16880104#comment-16880104 ]
Wei-Chiu Chuang commented on HDFS-14635:
----------------------------------------
Not familiar with this part of code. Is this related to HDFS-11242?
> Support to refresh the rack awareness dynamically
> --------------------------------------------------
>
> Key: HDFS-14635
> URL: https://issues.apache.org/jira/browse/HDFS-14635
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: hdfs
> Affects Versions: 2.7.2
> Reporter: liying
> Priority: Major
>
> At present , there are two ways to load the rack script in the hadoop codes. The class ScriptBasedMapping is the cache way, and the class ScriptBasedMapping#RawScriptBasedMapping is the way that
> it will load script every time(every request)。 The cache is the good way to implement this feature, because it consumes cpu performance if loading the script for every quest。But here's another question that is we cann't refresh the cache, so it is import to support to refresh the rack awareness dynamically.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org