Author: szetszwo Date: Fri Mar 21 18:51:47 2014 New Revision: 1580019 URL: http://svn.apache.org/r1580019 Log: svn merge -c 1580013 from trunk for HDFS-6138. Add a user guide for how to use viewfs with federation.
Added: hadoop/common/branches/branch-2.4/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/ViewFs.apt.vm - copied unchanged from r1580013, hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/ViewFs.apt.vm hadoop/common/branches/branch-2.4/hadoop-hdfs-project/hadoop-hdfs/src/site/resources/images/viewfs_TypicalMountTable.png - copied unchanged from r1580013, hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/src/site/resources/images/viewfs_TypicalMountTable.png Modified: hadoop/common/branches/branch-2.4/hadoop-hdfs-project/ (props changed) hadoop/common/branches/branch-2.4/hadoop-hdfs-project/hadoop-hdfs/ (props changed) hadoop/common/branches/branch-2.4/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt hadoop/common/branches/branch-2.4/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/Federation.apt.vm Propchange: hadoop/common/branches/branch-2.4/hadoop-hdfs-project/ ------------------------------------------------------------------------------ Merged /hadoop/common/trunk/hadoop-hdfs-project:r1580013 Propchange: hadoop/common/branches/branch-2.4/hadoop-hdfs-project/hadoop-hdfs/ ------------------------------------------------------------------------------ Merged /hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs:r1580013 Modified: hadoop/common/branches/branch-2.4/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-2.4/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt?rev=1580019&r1=1580018&r2=1580019&view=diff ============================================================================== --- hadoop/common/branches/branch-2.4/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt (original) +++ hadoop/common/branches/branch-2.4/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt Fri Mar 21 18:51:47 2014 @@ -160,9 +160,12 @@ Release 2.4.0 - UNRELEASED HDFS-6123. Do not log stack trace for ReplicaAlreadyExistsException and SocketTimeoutException. (szetszwo) - HDFS-6129. When a replica is not found for deletion, do not throw an + HDFS-6129. When a replica is not found for deletion, do not throw an exception. (szetszwo) + HDFS-6138. Add a user guide for how to use viewfs with federation. + (sanjay and szetszwo via szetszwo) + OPTIMIZATIONS HDFS-5790. LeaseManager.findPath is very slow when many leases need recovery Modified: hadoop/common/branches/branch-2.4/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/Federation.apt.vm URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-2.4/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/Federation.apt.vm?rev=1580019&r1=1580018&r2=1580019&view=diff ============================================================================== --- hadoop/common/branches/branch-2.4/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/Federation.apt.vm (original) +++ hadoop/common/branches/branch-2.4/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/Federation.apt.vm Fri Mar 21 18:51:47 2014 @@ -70,6 +70,9 @@ HDFS Federation send periodic heartbeats and block reports and handles commands from the Namenodes. + Users may use {{{./ViewFs.html}ViewFs}} to create personalized namespace views, + where ViewFs is analogous to client side mount tables in some Unix/Linux systems. + [./images/federation.gif] HDFS Federation Architecture @@ -214,13 +217,11 @@ HDFS Federation cluster_id in step 1. If they are different, the additional Namenodes will not be part of the federated cluster. -** Upgrading from older release to 0.23 and configuring federation - - Older releases supported a single Namenode. Here are the steps enable - federation: +** Upgrading from an older release and configuring federation - Step 1: Upgrade the cluster to newer release. During upgrade you can - provide a ClusterID as follows: + Older releases supported a single Namenode. + Upgrade the cluster to newer release to enable federation + During upgrade you can provide a ClusterID as follows: ---- > $HADOOP_PREFIX_HOME/bin/hdfs start namenode --config $HADOOP_CONF_DIR > -upgrade -clusterId <cluster_ID>