Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 37405 invoked from network); 29 Nov 2006 03:14:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Nov 2006 03:14:46 -0000 Received: (qmail 81139 invoked by uid 500); 29 Nov 2006 03:14:56 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 80907 invoked by uid 500); 29 Nov 2006 03:14:55 -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 80898 invoked by uid 99); 29 Nov 2006 03:14:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Nov 2006 19:14:55 -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, 28 Nov 2006 19:14:45 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5AABF7142F8 for ; Tue, 28 Nov 2006 19:14:25 -0800 (PST) Message-ID: <3905751.1164770065369.JavaMail.jira@brutus> Date: Tue, 28 Nov 2006 19:14:25 -0800 (PST) From: "Wendy Chien (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-430) http server should die if the Datanode fails. In-Reply-To: <21253528.1154990113889.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-430?page=all ] Wendy Chien updated HADOOP-430: ------------------------------- Attachment: (was: RegistrationOrder.patch) > http server should die if the Datanode fails. > --------------------------------------------- > > Key: HADOOP-430 > URL: http://issues.apache.org/jira/browse/HADOOP-430 > Project: Hadoop > Issue Type: Bug > Components: dfs > Affects Versions: 0.5.0 > Reporter: Konstantin Shvachko > Assigned To: Wendy Chien > Attachments: hadoop-430.patch > > > HADOOP-375 changed the order in which a data node registers and starts its http server. > Current version first starts the http server, then registers. As a result if the registration fails, > which can happen e.g. if the datanode has illegal storage id (=does not belong to the cluster), > the http server keeps running, which makes the data node seem running too. > I think 2 things need to be done. > 1) Datanode registration should precede the http server startup. > 2) The http server should shutdown when the datanode fails (in general). > I am attaching a patch for the first item. > Does anybody know how the latter can be done in the version of jetty we are on now? -- 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