Browse Source

Increase some intervals to further reduce stress on the jobtracker.

git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk@383623 13f79535-47bb-0310-9956-ffa450edef68
Doug Cutting 19 năm trước cách đây
mục cha
commit
a6b0291c8d
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/java/org/apache/hadoop/mapred/MRConstants.java

+ 2 - 2
src/java/org/apache/hadoop/mapred/MRConstants.java

@@ -24,8 +24,8 @@ interface MRConstants {
     //
     // Timeouts, constants
     //
-    public static final long HEARTBEAT_INTERVAL = 3 * 1000;
-    public static final long TASKTRACKER_EXPIRY_INTERVAL = 60 * 1000;
+    public static final long HEARTBEAT_INTERVAL = 10 * 1000;
+    public static final long TASKTRACKER_EXPIRY_INTERVAL = 10 * 60 * 1000;
 
     //
     // Result codes