hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r397977 - /lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java
Date Fri, 28 Apr 2006 18:31:35 GMT
Author: cutting
Date: Fri Apr 28 11:31:34 2006
New Revision: 397977

URL: http://svn.apache.org/viewcvs?rev=397977&view=rev
Log:
Change default replication.max in code to be the same as in hadoop-default.xml.

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/viewcvs/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/FSNamesystem.java?rev=397977&r1=397976&r2=397977&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 Fri Apr 28 11:31:34
2006
@@ -158,7 +158,7 @@
         lmthread.start();
         this.systemStart = System.currentTimeMillis();
 
-        this.maxReplication = conf.getInt("dfs.replication.max", 3);
+        this.maxReplication = conf.getInt("dfs.replication.max", 512);
         this.minReplication = conf.getInt("dfs.replication.min", 1);
         if( maxReplication < minReplication )
           throw new IOException(



Mime
View raw message