Zhang Wei created HDFS-8500: ------------------------------- Summary: Improve refreshNode in DFSAdmin to support hdfs federation Key: HDFS-8500 URL: https://issues.apache.org/jira/browse/HDFS-8500 Project: Hadoop HDFS Issue Type: Improvement Components: federation Affects Versions: 2.7.0 Reporter: Zhang Wei Priority: Minor
In hdfs federated cluster, we find the dfsadmin command "hdfs dfsadmin -refreshNodes" can only refresh the nameservice (or namenode) which configured in fs.defaultFS. The other nameservices configured in hdfs-site.xml can't be refreshed unless changing the fs.defaultFS value and run this command again. I think we need additional parameters as following to give a convenient way: [-a] fresh all namenodes configured in hdfs-site.xml. [-ns <nameserviceId>] specify a nameservice to refresh. [host:ipc_port] specify a nn to refresh. please give your opinions. Thanks! -- This message was sent by Atlassian JIRA (v6.3.4#6332)