Return-Path: Delivered-To: apmail-lucene-hadoop-commits-archive@locus.apache.org Received: (qmail 97675 invoked from network); 19 Dec 2007 06:17:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Dec 2007 06:17:36 -0000 Received: (qmail 17656 invoked by uid 500); 19 Dec 2007 06:17:25 -0000 Delivered-To: apmail-lucene-hadoop-commits-archive@lucene.apache.org Received: (qmail 17623 invoked by uid 500); 19 Dec 2007 06:17:25 -0000 Mailing-List: contact hadoop-commits-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-commits@lucene.apache.org Received: (qmail 17614 invoked by uid 99); 19 Dec 2007 06:17:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Dec 2007 22:17:25 -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.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Dec 2007 06:17:21 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1C0FB1A9838; Tue, 18 Dec 2007 22:17:12 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r605441 - in /lucene/hadoop/trunk: CHANGES.txt src/java/org/apache/hadoop/dfs/FSEditLog.java Date: Wed, 19 Dec 2007 06:17:11 -0000 To: hadoop-commits@lucene.apache.org From: dhruba@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071219061712.1C0FB1A9838@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: dhruba Date: Tue Dec 18 22:17:10 2007 New Revision: 605441 URL: http://svn.apache.org/viewvc?rev=605441&view=rev Log: HADOOP-2460. When the namenode encounters ioerrors on writing a transaction log, it stops writing new transactions to that one. (Raghu Angadi via dhruba) Modified: lucene/hadoop/trunk/CHANGES.txt lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSEditLog.java Modified: lucene/hadoop/trunk/CHANGES.txt URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?rev=605441&r1=605440&r2=605441&view=diff ============================================================================== --- lucene/hadoop/trunk/CHANGES.txt (original) +++ lucene/hadoop/trunk/CHANGES.txt Tue Dec 18 22:17:10 2007 @@ -274,6 +274,13 @@ and then tries to create the JobInProgress object. (Johan Oskarsson via ddas) + HADOOP-2422. dfs -cat multiple files fail with 'Unable to write to + output stream'. (Raghu Angadi via dhruba) + + HADOOP-2460. When the namenode encounters ioerrors on writing a + transaction log, it stops writing new transactions to that one. + (Raghu Angadi via dhruba) + IMPROVEMENTS HADOOP-2160. Remove project-level, non-user documentation from @@ -320,9 +327,6 @@ HADOOP-2205. Regenerate the Hadoop website since some of the changes made by HADOOP-1917 weren't correctly copied over to the trunk/docs directory. Also fixed a couple of minor typos and broken links. (acmurthy) - - HADOOP-2422. dfs -cat multiple files fail with 'Unable to write to - output stream'. (Raghu Angadi via dhruba) Release 0.15.0 - 2007-11-2 Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSEditLog.java URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSEditLog.java?rev=605441&r1=605440&r2=605441&view=diff ============================================================================== --- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSEditLog.java (original) +++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSEditLog.java Tue Dec 18 22:17:10 2007 @@ -34,6 +34,7 @@ import org.apache.hadoop.io.ArrayWritable; import org.apache.hadoop.io.UTF8; import org.apache.hadoop.io.Writable; +import org.apache.hadoop.util.StringUtils; /** * FSEditLog maintains a log of the namespace modifications. @@ -345,10 +346,10 @@ Runtime.getRuntime().exit(-1); } try { - processIOError(idx); + processIOError(j); } catch (IOException e) { - FSNamesystem.LOG.error("Unable to sync edit log. " + - "Fatal Error."); + FSNamesystem.LOG.error("Unable to sync edit log. Fatal Error : " + + StringUtils.stringifyException(e)); Runtime.getRuntime().exit(-1); } }