hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r411282 - /lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/NameNode.java
Date Fri, 02 Jun 2006 19:59:34 GMT
Author: cutting
Date: Fri Jun  2 12:59:33 2006
New Revision: 411282

URL: http://svn.apache.org/viewvc?rev=411282&view=rev
Log:
HADOOP-217.  Fix another illegal access problem when static
initializers are not run.

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

Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/NameNode.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/NameNode.java?rev=411282&r1=411281&r2=411282&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/NameNode.java (original)
+++ lucene/hadoop/trunk/src/java/org/apache/hadoop/dfs/NameNode.java Fri Jun  2 12:59:33 2006
@@ -72,6 +72,7 @@
     // creating an instance will do the static initialization of the class
     static {
       new DatanodeRegistration();
+      new Block();
     }
 
     /** Format a new filesystem.  Destroys any filesystem that may already



Mime
View raw message