From hadoop-dev-return-9737-apmail-lucene-hadoop-dev-archive=lucene.apache.org@lucene.apache.org Mon Apr 02 16:00:55 2007 Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 79093 invoked from network); 2 Apr 2007 16:00:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Apr 2007 16:00:54 -0000 Received: (qmail 41507 invoked by uid 500); 2 Apr 2007 16:01:00 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 41471 invoked by uid 500); 2 Apr 2007 16:01:00 -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 41459 invoked by uid 99); 2 Apr 2007 16:01:00 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Apr 2007 09:01:00 -0700 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; Mon, 02 Apr 2007 09:00:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6738B714049 for ; Mon, 2 Apr 2007 09:00:32 -0700 (PDT) Message-ID: <12802480.1175529632419.JavaMail.jira@brutus> Date: Mon, 2 Apr 2007 09:00:32 -0700 (PDT) From: "dhruba borthakur (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-1188) processIOError() should update fstime file In-Reply-To: <9273127.1175295205129.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 [ https://issues.apache.org/jira/browse/HADOOP-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12486055 ] dhruba borthakur commented on HADOOP-1188: ------------------------------------------ +1. Sounds great. > processIOError() should update fstime file > ------------------------------------------ > > Key: HADOOP-1188 > URL: https://issues.apache.org/jira/browse/HADOOP-1188 > Project: Hadoop > Issue Type: Bug > Components: dfs > Affects Versions: 0.10.1, 0.11.2, 0.12.2 > Reporter: Konstantin Shvachko > Fix For: 0.13.0 > > > 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.