HDFS-13240. RBF: Update some inaccurate document descriptions. Contributed by Yiqun Lin.

(cherry picked from commit 4743d4a2c7)
This commit is contained in:
Yiqun Lin 2018-03-10 11:28:55 +08:00
parent 0dadcf9ea3
commit 3a34924896
1 changed files with 7 additions and 5 deletions

View File

@ -29,7 +29,9 @@ Architecture
------------ ------------
A natural extension to this partitioned federation is to add a layer of software responsible for federating the namespaces. A natural extension to this partitioned federation is to add a layer of software responsible for federating the namespaces.
This extra layer allows users to access any subcluster transparently, lets subclusters manage their own block pools independently, and supports rebalancing of data across subclusters. This extra layer allows users to access any subcluster transparently, lets subclusters manage their own block pools independently, and will support rebalancing of data across subclusters later
(see more info in [HDFS-13123](https://issues.apache.org/jira/browse/HDFS-13123)). The subclusters in RBF are not required to be the independent HDFS clusters, a normal federation cluster
(with multiple block pools) or a mixed cluster with federation and independent cluster is also allowed.
To accomplish these goals, the federation layer directs block accesses to the proper subcluster, maintains the state of the namespaces, and provides mechanisms for data rebalancing. To accomplish these goals, the federation layer directs block accesses to the proper subcluster, maintains the state of the namespaces, and provides mechanisms for data rebalancing.
This layer must be scalable, highly available, and fault tolerant. This layer must be scalable, highly available, and fault tolerant.
@ -324,8 +326,8 @@ The connection to the State Store and the internal caching at the Router.
| Property | Default | Description| | Property | Default | Description|
|:---- |:---- |:---- | |:---- |:---- |:---- |
| dfs.federation.router.store.enable | `true` | If `true`, the Router connects to the State Store. | | dfs.federation.router.store.enable | `true` | If `true`, the Router connects to the State Store. |
| dfs.federation.router.store.serializer | `StateStoreSerializerPBImpl` | Class to serialize State Store records. | | dfs.federation.router.store.serializer | `org.apache.hadoop.hdfs.server.federation.store.driver.impl.StateStoreSerializerPBImpl` | Class to serialize State Store records. |
| dfs.federation.router.store.driver.class | `StateStoreZooKeeperImpl` | Class to implement the State Store. | | dfs.federation.router.store.driver.class | `org.apache.hadoop.hdfs.server.federation.store.driver.impl.StateStoreZooKeeperImpl` | Class to implement the State Store. |
| dfs.federation.router.store.connection.test | 60000 | How often to check for the connection to the State Store in milliseconds. | | dfs.federation.router.store.connection.test | 60000 | How often to check for the connection to the State Store in milliseconds. |
| dfs.federation.router.cache.ttl | 60000 | How often to refresh the State Store caches in milliseconds. | | dfs.federation.router.cache.ttl | 60000 | How often to refresh the State Store caches in milliseconds. |
| dfs.federation.router.store.membership.expiration | 300000 | Expiration time in milliseconds for a membership record. | | dfs.federation.router.store.membership.expiration | 300000 | Expiration time in milliseconds for a membership record. |
@ -336,8 +338,8 @@ Forwarding client requests to the right subcluster.
| Property | Default | Description| | Property | Default | Description|
|:---- |:---- |:---- | |:---- |:---- |:---- |
| dfs.federation.router.file.resolver.client.class | MountTableResolver | Class to resolve files to subclusters. | | dfs.federation.router.file.resolver.client.class | `org.apache.hadoop.hdfs.server.federation.resolver.MountTableResolver` | Class to resolve files to subclusters. |
| dfs.federation.router.namenode.resolver.client.class | MembershipNamenodeResolver | Class to resolve the namenode for a subcluster. | | dfs.federation.router.namenode.resolver.client.class | `org.apache.hadoop.hdfs.server.federation.resolver.MembershipNamenodeResolver` | Class to resolve the namenode for a subcluster. |
### Namenode monitoring ### Namenode monitoring