[
https://issues.apache.org/jira/browse/HADOOP-3720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lohit Vijayarenu updated HADOOP-3720:
-------------------------------------
Description: hadoop dfsadmin -refreshNodes reads files defined by
_dfs.hosts_ and _dfs.hosts.exclude_. If these values are not defined during
namenode startup, then refreshNodes command assumes there are no files. So,
while namenode is running, once cannot just edit the config file and add
entries to these config variables and expect the namenode to read them.
Namenode should re-read the config file for these variables (_dfs.hosts_ and
_dfs.hosts.exclude_) when refreshNodes command is invoked. (was: hadoop
dfsadmin -refreshNodes reads files defined by _dfs.hosts_ and
_dfs.hosts.exclude_. If these values are not defined during namenode startup,
then refreshNodes command assumes there are no files. So, while namenode is
running, once cannot just edit the config file and add entries to these config
variables and expect the namenode to read them. Namenode should re-read the
config file when refreshNodes command is invoked. )
> dfsadmin -refreshNodes should re-read the config file.
> ------------------------------------------------------
>
> Key: HADOOP-3720
> URL: https://issues.apache.org/jira/browse/HADOOP-3720
> Project: Hadoop Core
> Issue Type: Bug
> Components: dfs
> Affects Versions: 0.19.0
> Reporter: Lohit Vijayarenu
>
> hadoop dfsadmin -refreshNodes reads files defined by _dfs.hosts_ and
> _dfs.hosts.exclude_. If these values are not defined during namenode startup,
> then refreshNodes command assumes there are no files. So, while namenode is
> running, once cannot just edit the config file and add entries to these
> config variables and expect the namenode to read them. Namenode should
> re-read the config file for these variables (_dfs.hosts_ and
> _dfs.hosts.exclude_) when refreshNodes command is invoked.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.