Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 18747 invoked from network); 6 Feb 2008 00:15:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Feb 2008 00:15:29 -0000 Received: (qmail 69463 invoked by uid 500); 6 Feb 2008 00:15:21 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 69446 invoked by uid 500); 6 Feb 2008 00:15:20 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 69437 invoked by uid 99); 6 Feb 2008 00:15:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2008 16:15:20 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED 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; Wed, 06 Feb 2008 00:15:00 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0111871406E for ; Tue, 5 Feb 2008 16:15:07 -0800 (PST) Message-ID: <331953.1202256907985.JavaMail.jira@brutus> Date: Tue, 5 Feb 2008 16:15:07 -0800 (PST) From: "Konstantin Shvachko (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Resolved: (HADOOP-1188) processIOError() should update fstime file MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Konstantin Shvachko resolved HADOOP-1188. ----------------------------------------- Resolution: Fixed Fix Version/s: 0.17.0 I just committed this. > processIOError() should update fstime file > ------------------------------------------ > > Key: HADOOP-1188 > URL: https://issues.apache.org/jira/browse/HADOOP-1188 > Project: Hadoop Core > Issue Type: Bug > Components: dfs > Affects Versions: 0.10.1, 0.11.2, 0.12.2 > Reporter: Konstantin Shvachko > Assignee: Konstantin Shvachko > Priority: Blocker > Fix For: 0.16.1, 0.17.0 > > Attachments: hadoop-1188.patch > > > Name-node can have multiple directories to store the name space image and edits. > During startup the name-node selects the latest image and reads it in memory. > fstime stores the time of the latest checkpoint. > If one of the directories becomes inaccessible during normal operation the name-node > excludes it from the list, and never writes anything into it until restarted. > Now if the the name-node restarts after excluding one of the directories, and if that > excluded directory contained the latest image, then all modifications of the name space > recorded in edits files in other directories starting from the moment the directory was > excluded will be lost. > We should update fstime in all remaining good directories after the exclusion. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.