Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 11535 invoked from network); 9 Jul 2008 19:03:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Jul 2008 19:03:56 -0000 Received: (qmail 8403 invoked by uid 500); 9 Jul 2008 19:03:54 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 8369 invoked by uid 500); 9 Jul 2008 19:03:54 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 8001 invoked by uid 99); 9 Jul 2008 19:03:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2008 12:03:53 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Jul 2008 19:03:09 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id DDB5B234C15B for ; Wed, 9 Jul 2008 12:03:31 -0700 (PDT) Message-ID: <1126475583.1215630211900.JavaMail.jira@brutus> Date: Wed, 9 Jul 2008 12:03:31 -0700 (PDT) From: "Lohit Vijayarenu (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-3720) dfsadmin -refreshNodes should re-read the config file. In-Reply-To: <12214220.1215563071555.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-3720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lohit Vijayarenu updated HADOOP-3720: ------------------------------------- Attachment: (was: HADOOP-3720-2.patch) > 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-3720-2.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.