diff --git a/hdfs/CHANGES.txt b/hdfs/CHANGES.txt index da19156ebd6..ddf15eb9662 100644 --- a/hdfs/CHANGES.txt +++ b/hdfs/CHANGES.txt @@ -566,6 +566,9 @@ Trunk (unreleased changes) HDFS-2159. Deprecate DistributedFileSystem.getClient() and fixed the deprecated warnings in DFSAdmin. (szetszwo) + HDFS-2157. Improve header comment in o.a.h.hdfs.server.namenode.NameNode. + (atm via eli) + OPTIMIZATIONS HDFS-1458. Improve checkpoint performance by avoiding unnecessary image diff --git a/hdfs/src/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java b/hdfs/src/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java index ee85fff8741..cd5447245e8 100644 --- a/hdfs/src/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java +++ b/hdfs/src/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java @@ -110,35 +110,38 @@ * NameNode serves as both directory namespace manager and * "inode table" for the Hadoop DFS. There is a single NameNode * running in any DFS deployment. (Well, except when there - * is a second backup/failover NameNode.) + * is a second backup/failover NameNode, or when using federated NameNodes.) * * The NameNode controls two critical tables: * 1) filename->blocksequence (namespace) * 2) block->machinelist ("inodes") * * The first table is stored on disk and is very precious. - * The second table is rebuilt every time the NameNode comes - * up. + * The second table is rebuilt every time the NameNode comes up. * * 'NameNode' refers to both this class as well as the 'NameNode server'. * The 'FSNamesystem' class actually performs most of the filesystem * management. The majority of the 'NameNode' class itself is concerned - * with exposing the IPC interface and the http server to the outside world, + * with exposing the IPC interface and the HTTP server to the outside world, * plus some configuration management. * - * NameNode implements the ClientProtocol interface, which allows - * clients to ask for DFS services. ClientProtocol is not - * designed for direct use by authors of DFS client code. End-users - * should instead use the org.apache.nutch.hadoop.fs.FileSystem class. + * NameNode implements the + * {@link org.apache.hadoop.hdfs.protocol.ClientProtocol} interface, which + * allows clients to ask for DFS services. + * {@link org.apache.hadoop.hdfs.protocol.ClientProtocol} is not designed for + * direct use by authors of DFS client code. End-users should instead use the + * {@link org.apache.hadoop.fs.FileSystem} class. * - * NameNode also implements the DatanodeProtocol interface, used by - * DataNode programs that actually store DFS data blocks. These + * NameNode also implements the + * {@link org.apache.hadoop.hdfs.server.protocol.DatanodeProtocol} interface, + * used by DataNodes that actually store DFS data blocks. These * methods are invoked repeatedly and automatically by all the * DataNodes in a DFS deployment. * - * NameNode also implements the NamenodeProtocol interface, used by - * secondary namenodes or rebalancing processes to get partial namenode's - * state, for example partial blocksMap etc. + * NameNode also implements the + * {@link org.apache.hadoop.hdfs.server.protocol.NamenodeProtocol} interface, + * used by secondary namenodes or rebalancing processes to get partial + * NameNode state, for example partial blocksMap etc. **********************************************************/ @InterfaceAudience.Private public class NameNode implements NamenodeProtocols, FSConstants {