[ https://issues.apache.org/jira/browse/HDFS-16772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Íñigo Goiri resolved HDFS-16772. -------------------------------- Fix Version/s: 3.4.0 Hadoop Flags: Reviewed Resolution: Fixed > refreshHostsReader should use the new configuration > --------------------------------------------------- > > Key: HDFS-16772 > URL: https://issues.apache.org/jira/browse/HDFS-16772 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: ZanderXu > Assignee: ZanderXu > Priority: Major > Labels: pull-request-available > Fix For: 3.4.0 > > > `refreshHostsReader` should use the latest configuration. > And the current code as bellow: > {code:java} > /** Reread include/exclude files. */ > private void refreshHostsReader(Configuration conf) throws IOException { > if (conf == null) { > conf = new HdfsConfiguration(); > // BUG here > this.hostConfigManager.setConf(conf); > } > this.hostConfigManager.refresh(); > } {code} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org