hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From szets...@apache.org
Subject svn commit: r897347 - in /hadoop/common/branches/branch-0.20: CHANGES.txt src/hdfs/org/apache/hadoop/hdfs/DFSClient.java
Date Fri, 08 Jan 2010 23:26:13 GMT
Author: szetszwo
Date: Fri Jan  8 23:26:13 2010
New Revision: 897347

URL: http://svn.apache.org/viewvc?rev=897347&view=rev
Log:
Revert HDFS-127.

Modified:
    hadoop/common/branches/branch-0.20/CHANGES.txt
    hadoop/common/branches/branch-0.20/src/hdfs/org/apache/hadoop/hdfs/DFSClient.java

Modified: hadoop/common/branches/branch-0.20/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20/CHANGES.txt?rev=897347&r1=897346&r2=897347&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20/CHANGES.txt (original)
+++ hadoop/common/branches/branch-0.20/CHANGES.txt Fri Jan  8 23:26:13 2010
@@ -7,11 +7,6 @@
     HADOOP-6218. Adds a feature where TFile can be split by Record
     Sequence number. (Hong Tang and Raghu Angadi via ddas)
 
-  IMPROVEMENTS
-
-    HDFS-127. Reset failure count in DFSClient for each block acquiring
-    operation.  (Igor Bolotin via szetszwo)
-
   BUG FIXES
 
     MAPREDUCE-112. Add counters for reduce input, output records to the new API.

Modified: hadoop/common/branches/branch-0.20/src/hdfs/org/apache/hadoop/hdfs/DFSClient.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20/src/hdfs/org/apache/hadoop/hdfs/DFSClient.java?rev=897347&r1=897346&r2=897347&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20/src/hdfs/org/apache/hadoop/hdfs/DFSClient.java (original)
+++ hadoop/common/branches/branch-0.20/src/hdfs/org/apache/hadoop/hdfs/DFSClient.java Fri
Jan  8 23:26:13 2010
@@ -1619,7 +1619,6 @@
       // Connect to best DataNode for desired Block, with potential offset
       //
       DatanodeInfo chosenNode = null;
-      failures = 0;
       while (s == null) {
         DNAddrPair retval = chooseDataNode(targetBlock);
         chosenNode = retval.info;
@@ -1820,7 +1819,6 @@
       Socket dn = null;
       int numAttempts = block.getLocations().length;
       IOException ioe = null;
-      failures = 0;
       
       while (dn == null && numAttempts-- > 0 ) {
         DNAddrPair retval = chooseDataNode(block);



Mime
View raw message