ZanderXu created HDFS-16772: ------------------------------- Summary: 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
`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-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org