From hadoop-dev-return-5564-apmail-lucene-hadoop-dev-archive=lucene.apache.org@lucene.apache.org Mon Dec 04 18:34:45 2006 Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 37150 invoked from network); 4 Dec 2006 18:34:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Dec 2006 18:34:44 -0000 Received: (qmail 63282 invoked by uid 500); 4 Dec 2006 18:34:52 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 63243 invoked by uid 500); 4 Dec 2006 18:34:52 -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 63234 invoked by uid 99); 4 Dec 2006 18:34:52 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Dec 2006 10:34:52 -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; Mon, 04 Dec 2006 10:34:43 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 326BC7141E4 for ; Mon, 4 Dec 2006 10:34:23 -0800 (PST) Message-ID: <13999969.1165257263203.JavaMail.jira@brutus> Date: Mon, 4 Dec 2006 10:34:23 -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_12455382 ] dhruba borthakur commented on HADOOP-756: ----------------------------------------- Ok, then i will create a new dfsadmin. Currently we have a command of the following type: bin/hadoop dfsadmin -safemode [get][set][clear] I am going to add another option: bin/hadoop dfsadmin -safemode [get][set][clear][wait] The [wait] option will cause the command to block till HDFS exists safemode. Internally, the DFSAdmin class will use a while-sleep-poll loop to wait. > 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: Sameer Paranjpye > Priority: Minor > > 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