You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by cu...@apache.org on 2006/05/31 01:01:34 UTC
svn commit: r410402 - in /lucene/hadoop/trunk: CHANGES.txt
src/java/org/apache/hadoop/dfs/FSNamesystem.java
Author: cutting
Date: Tue May 30 16:01:34 2006
New Revision: 410402
URL: http://svn.apache.org/viewvc?rev=410402&view=rev
Log:
HADOOP-75. In DFS, only check for a complete file when the file is closed, rather than as each block is written. Contributed by Milind.
Modified:
lucene/hadoop/trunk/CHANGES.txt
lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java
Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?rev=410402&r1=410401&r2=410402&view=diff
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Tue May 30 16:01:34 2006
@@ -81,6 +81,10 @@
21. HADOOP-222. Add a -setrep option to the dfs commands that alters
file replication levels. (Johan Oskarson via cutting)
+22. HADOOP-75. In DFS, only check for a complete file when the file
+ is closed, rather than as each block is written.
+ (Milind Bhandarkar via cutting)
+
Release 0.2.1 - 2006-05-12
Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java?rev=410402&r1=410401&r2=410402&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java (original)
+++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java Tue May 30 16:01:34 2006
@@ -421,12 +421,6 @@
throw new IOException("File " + src + " created during write");
}
- //
- // If we fail this, bad things happen!
- //
- if (!checkFileProgress(src)) {
- throw new NameNode.NotReplicatedYetException("Not replicated yet");
- }
// Get the array of replication targets
DatanodeInfo targets[] = chooseTargets(pendingFile.getReplication(),