Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 65288 invoked from network); 5 Dec 2006 21:19:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Dec 2006 21:19:05 -0000 Received: (qmail 48624 invoked by uid 500); 5 Dec 2006 21:19:13 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 48597 invoked by uid 500); 5 Dec 2006 21:19:12 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 48588 invoked by uid 99); 5 Dec 2006 21:19:12 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Dec 2006 13:19:12 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Dec 2006 13:19:03 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0FD2F7142D7 for ; Tue, 5 Dec 2006 13:18:39 -0800 (PST) Message-ID: <23512559.1165353519062.JavaMail.jira@brutus> Date: Tue, 5 Dec 2006 13:18:39 -0800 (PST) From: "dhruba borthakur (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-756) new dfsadmin command to wait until safe mode is exited In-Reply-To: <26310722.1164743961235.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 [ http://issues.apache.org/jira/browse/HADOOP-756?page=comments#action_12455758 ] dhruba borthakur commented on HADOOP-756: ----------------------------------------- I think the 5 second sleep is appropriate. A smaller timeperiod will need the namenode to do more wasted work (because of an RPC call). Regarding the "exception during interrupt", the higher level functions catches the interrupt and prints out an error message. This lets the user know that the call terminated because of an interrupt (and not because the namenode exited safemode). > new dfsadmin command to wait until safe mode is exited > ------------------------------------------------------ > > Key: HADOOP-756 > URL: http://issues.apache.org/jira/browse/HADOOP-756 > Project: Hadoop > Issue Type: Improvement > Components: dfs > Affects Versions: 0.8.0 > Reporter: Owen O'Malley > Assigned To: dhruba borthakur > Priority: Minor > Attachments: safemodewait1.patch > > > I would like to have a dfsadmin command that waits until dfs leaves safemode. I want to be able to have my start up scripts wait until dfs is up before starting my jobtracker. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira