hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s..@apache.org
Subject svn commit: r712229 - in /hadoop/core/trunk: CHANGES.txt src/hdfs/org/apache/hadoop/hdfs/server/namenode/BlocksMap.java
Date Fri, 07 Nov 2008 19:22:01 GMT
Author: shv
Date: Fri Nov  7 11:22:01 2008
New Revision: 712229

URL: http://svn.apache.org/viewvc?rev=712229&view=rev
Log:
HADOOP-4599. BlocksMap and BlockInfo made package private. Contributed by Konstantin Shvachko.

Modified:
    hadoop/core/trunk/CHANGES.txt
    hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/server/namenode/BlocksMap.java

Modified: hadoop/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=712229&r1=712228&r2=712229&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Fri Nov  7 11:22:01 2008
@@ -191,6 +191,8 @@
 
     HADOOP-4116. Balancer should provide better resource management. (hairong)
 
+    HADOOP-4599. BlocksMap and BlockInfo made package private. (shv)
+
   NEW FEATURES
 
     HADOOP-3341. Allow streaming jobs to specify the field separator for map

Modified: hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/server/namenode/BlocksMap.java
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/server/namenode/BlocksMap.java?rev=712229&r1=712228&r2=712229&view=diff
==============================================================================
--- hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/server/namenode/BlocksMap.java (original)
+++ hadoop/core/trunk/src/hdfs/org/apache/hadoop/hdfs/server/namenode/BlocksMap.java Fri Nov
 7 11:22:01 2008
@@ -26,12 +26,12 @@
  * block's metadata currently includes INode it belongs to and
  * the datanodes that store the block.
  */
-public class BlocksMap {
+class BlocksMap {
         
   /**
    * Internal class for block metadata.
    */
-  public static class BlockInfo extends Block {
+  static class BlockInfo extends Block {
     private INodeFile          inode;
 
     /**
@@ -44,7 +44,7 @@
      */
     private Object[] triplets;
 
-    public BlockInfo(Block blk, int replication) {
+    BlockInfo(Block blk, int replication) {
       super(blk);
       this.triplets = new Object[3*replication];
       this.inode = null;



Mime
View raw message