You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Zhang Wei (JIRA)" <ji...@apache.org> on 2015/06/01 13:08:17 UTC
[jira] [Resolved] (HDFS-8500) Improve refreshNodes in DFSAdmin to
support hdfs federation
[ https://issues.apache.org/jira/browse/HDFS-8500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhang Wei resolved HDFS-8500.
-----------------------------
Resolution: Not A Problem
$HADOOP_PREFIX/sbin/refresh-namenodes.sh is appropriate choice.
> Improve refreshNodes 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
> Assignee: Zhang Wei
> Priority: Minor
> Labels: decommission, federation, refreshnodes
>
> 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)