Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 52553 invoked from network); 6 Feb 2006 18:53:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Feb 2006 18:53:24 -0000 Received: (qmail 32881 invoked by uid 500); 6 Feb 2006 18:53:24 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 32854 invoked by uid 500); 6 Feb 2006 18:53:23 -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 32843 invoked by uid 99); 6 Feb 2006 18:53:23 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Feb 2006 10:53:21 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 65177E1 for ; Mon, 6 Feb 2006 19:53:00 +0100 (CET) Message-ID: <877304523.1139251980410.JavaMail.jira@ajax.apache.org> Date: Mon, 6 Feb 2006 19:53:00 +0100 (CET) From: "Doug Cutting (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-19) Datanode corruption MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HADOOP-19?page=all ] Doug Cutting updated HADOOP-19: ------------------------------- Component: dfs > Datanode corruption > ------------------- > > Key: HADOOP-19 > URL: http://issues.apache.org/jira/browse/HADOOP-19 > Project: Hadoop > Type: Bug > Components: dfs > Reporter: Rod Taylor > Priority: Critical > > Our admins accidentally started a second nutch datanode pointing to the same directories as one already running (same machine) which in turn caused the entire contents of the datanode to go disappear. > This happened because the blocking was based on the username (since fixed in our start scripts) and it was started as two different users. > The ndfs.name.dir and ndfs.data.dir directories were both completely devoid of content, where they had about 150GB not all that much earlier. > I think the solution is improved interlocking within the data directory itself (file locked with flock or something similar). -- 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