Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.19.0
-
None
-
None
-
Reviewed
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.