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); } }