Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 8527 invoked from network); 11 Mar 2011 00:00:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Mar 2011 00:00:25 -0000 Received: (qmail 41024 invoked by uid 500); 11 Mar 2011 00:00:25 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 40961 invoked by uid 500); 11 Mar 2011 00:00:25 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 40953 invoked by uid 99); 11 Mar 2011 00:00:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Mar 2011 00:00:25 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Mar 2011 00:00:22 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 770F33A3B78 for ; Thu, 10 Mar 2011 23:59:59 +0000 (UTC) Date: Thu, 10 Mar 2011 23:59:59 +0000 (UTC) From: "Suresh Srinivas (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <749869131.12260.1299801599484.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1397072790.9243.1299104197060.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (HDFS-1703) HDFS federation: Improve start/stop scripts and add script to decommission datanodes MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HDFS-1703?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13005417#comment-13005417 ] Suresh Srinivas commented on HDFS-1703: --------------------------------------- Updated description: The new startup script has the following changed behavior: # Old behavior: #* startup script had to be run on primary namenode. The script started namenode on the the node where it was run. Secondary namenode was started on the node in "master" file. #* Datanodes were started on nodes that are in "slaves" file. # New behavior: #* Script determines namenodes and secondary namenodes from the hdfs-site.xml configuration and starts appropriate nodes on these machines. The file "master" is no longer required.(Changed behavior) #* Datanodes were started on nodes that are in "slaves" file. (No change) Installation using their own scripts can start the nodes, based on the example in this script. Decommission tool: # Two new scripts are added for performing decommissioning in federation setup. This could be used for setup with single namenode also. # distribute-exclude.sh #* This script copies the given exclude file based to all the namenodes (discovered from the configuration hdfs-site.xml) to the exclude file as definied in the hdfs-site.xml configuration. # refresh-namenodes.sh #* This script runs refreshNodes command on all the namenodes (discovered from the configuration hdfs-site.xml). > HDFS federation: Improve start/stop scripts and add script to decommission datanodes > ------------------------------------------------------------------------------------ > > Key: HDFS-1703 > URL: https://issues.apache.org/jira/browse/HDFS-1703 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: scripts > Affects Versions: Federation Branch > Reporter: Tanping Wang > Assignee: Tanping Wang > Priority: Minor > Fix For: Federation Branch > > Attachments: HDFS-1703.patch > > > This Jira covers two issues: > # Startup scripts should start namenodes, secondary namenodes and datanodes on hosts retunred by getConfig (new feature). This patch is spread out to both common(HADOOP-7179) and hdfs (this Jira). > # Decommission script to decommission datanodes -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira