hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dhr...@apache.org
Subject svn commit: r615429 - in /hadoop/core/trunk: CHANGES.txt src/test/org/apache/hadoop/dfs/TestDecommission.java
Date Sat, 26 Jan 2008 05:03:31 GMT
Author: dhruba
Date: Fri Jan 25 21:03:18 2008
New Revision: 615429

URL: http://svn.apache.org/viewvc?rev=615429&view=rev
Log:
HADOOP-2714. TestDecommission failed on windows because the replication
request was timing out. (dhruba)


Modified:
    hadoop/core/trunk/CHANGES.txt
    hadoop/core/trunk/src/test/org/apache/hadoop/dfs/TestDecommission.java

Modified: hadoop/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=615429&r1=615428&r2=615429&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Fri Jan 25 21:03:18 2008
@@ -585,6 +585,9 @@
     check if the parent Java task is running, and exit if the parent isn't
     alive and responding. (Amareshwari Sri Ramadasu via acmurthy) 
 
+    HADOOP-2714. TestDecommission failed on windows because the replication
+    request was timing out. (dhruba)
+
 Release 0.15.3 - 2008-01-18
 
   BUG FIXES

Modified: hadoop/core/trunk/src/test/org/apache/hadoop/dfs/TestDecommission.java
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/test/org/apache/hadoop/dfs/TestDecommission.java?rev=615429&r1=615428&r2=615429&view=diff
==============================================================================
--- hadoop/core/trunk/src/test/org/apache/hadoop/dfs/TestDecommission.java (original)
+++ hadoop/core/trunk/src/test/org/apache/hadoop/dfs/TestDecommission.java Fri Jan 25 21:03:18
2008
@@ -271,6 +271,9 @@
     hostsFile = new Path(dir, "hosts");
     excludeFile = new Path(dir, "exclude");
     conf.set("dfs.hosts.exclude", excludeFile.toUri().getPath());
+    conf.setInt("heartbeat.recheck.interval", 2000);
+    conf.setInt("dfs.heartbeat.interval", 1);
+    conf.setInt("dfs.replication.pending.timeout.sec", 4);
     writeConfigFile(localFileSys, excludeFile, null);
 
     MiniDFSCluster cluster = new MiniDFSCluster(conf, numDatanodes, true, null);



Mime
View raw message