hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r493104 - /lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java
Date Fri, 05 Jan 2007 17:56:59 GMT
Author: cutting
Date: Fri Jan  5 09:56:58 2007
New Revision: 493104

URL: http://svn.apache.org/viewvc?view=rev&rev=493104
Log:
HADOOP-681.  Remove a no-longer-needed line.  Contributed by Konstantin.

Modified:
    lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java

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?view=diff&rev=493104&r1=493103&r2=493104
==============================================================================
--- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java (original)
+++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java Fri Jan  5 09:56:58
2007
@@ -2196,8 +2196,6 @@
             DatanodeDescriptor targets[] = 
                       (DatanodeDescriptor[]) replicateTargetSets.get(i);
             int numCurrentReplica = numCurrentReplicas.get(i).intValue();
-            Collection<DatanodeDescriptor> containingNodes = blocksMap.get(block);
-
             if (numCurrentReplica + targets.length >= 
                     dir.getFileByBlock( block).getReplication() ) {
               neededReplications.remove(block);



Mime
View raw message