Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 4494 invoked from network); 10 Mar 2011 23:24:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Mar 2011 23:24:23 -0000 Received: (qmail 740 invoked by uid 500); 10 Mar 2011 23:24:23 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 694 invoked by uid 500); 10 Mar 2011 23:24:23 -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 686 invoked by uid 99); 10 Mar 2011 23:24:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Mar 2011 23:24:23 +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; Thu, 10 Mar 2011 23:24:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6B21C3A30D2 for ; Thu, 10 Mar 2011 23:23:59 +0000 (UTC) Date: Thu, 10 Mar 2011 23:23:59 +0000 (UTC) From: "Tanping Wang (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <1739568616.12165.1299799439435.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1397072790.9243.1299104197060.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Updated: (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:all-tabpanel ] Tanping Wang updated HDFS-1703: ------------------------------- Attachment: HDFS-1703.patch 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. Combined all the scripts change into one patch, HDFS-1703.patch > 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