Return-Path: Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: (qmail 95145 invoked from network); 7 Aug 2009 22:03:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Aug 2009 22:03:32 -0000 Received: (qmail 58849 invoked by uid 500); 7 Aug 2009 22:03:39 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 58801 invoked by uid 500); 7 Aug 2009 22:03:39 -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 58783 invoked by uid 99); 7 Aug 2009 22:03:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Aug 2009 22:03:39 +0000 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; Fri, 07 Aug 2009 22:03:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E7D9B29A0013 for ; Fri, 7 Aug 2009 15:03:14 -0700 (PDT) Message-ID: <1020059185.1249682594948.JavaMail.jira@brutus> Date: Fri, 7 Aug 2009 15:03:14 -0700 (PDT) From: "Todd Lipcon (JIRA)" To: hdfs-issues@hadoop.apache.org Subject: [jira] Updated: (HDFS-528) Add ability for safemode to wait for a minimum number of live datanodes In-Reply-To: <704807139.1249431494983.JavaMail.jira@brutus> 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-528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Todd Lipcon updated HDFS-528: ----------------------------- Summary: Add ability for safemode to wait for a minimum number of live datanodes (was: Add dfsadmin -waitDatanodes feature to block until DNs have reported) > Add ability for safemode to wait for a minimum number of live datanodes > ----------------------------------------------------------------------- > > Key: HDFS-528 > URL: https://issues.apache.org/jira/browse/HDFS-528 > Project: Hadoop HDFS > Issue Type: New Feature > Components: scripts > Affects Versions: 0.21.0 > Reporter: Todd Lipcon > Assignee: Todd Lipcon > Attachments: hdfs-528-v2.txt, hdfs-528.txt > > > When starting up a fresh cluster programatically, users often want to wait until DFS is "writable" before continuing in a script. "dfsadmin -safemode wait" doesn't quite work for this on a completely fresh cluster, since when there are 0 blocks on the system, 100% of them are accounted for before any DNs have reported. > This JIRA is to add a command which waits until a certain number of DNs have reported as alive to the NN. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.