hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lohit Vijayarenu (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-3720) dfsadmin -refreshNodes should re-read the config file.
Date Wed, 09 Jul 2008 06:52:31 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-3720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Lohit Vijayarenu updated HADOOP-3720:

    Attachment: HADOOP-3720-1.patch

Attached patch re-reads the config in refreshNodes. I tested this manually and it works

> 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
>         Attachments: HADOOP-3720-1.patch
> 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.

View raw message