slfan1989 commented on code in PR #5751:
URL: https://github.com/apache/hadoop/pull/5751#discussion_r1231723679


##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/Federation.md:
##########
@@ -385,3 +385,269 @@ The output from this particular example job should be 
something like:
 
 The state of the job can also be tracked on the Router Web UI at 
`routerhost:8089`.
 Note that no change in the code or recompilation of the input jar was required 
to use federation. Also, the output of this job is the exact same as it would 
be when run without federation. Also, in order to get the full benefit of 
federation, use a large enough number of mappers such that more than one 
cluster is required. That number happens to be 16 in the case of the above 
example.
+
+How to build a Test Federation Cluster
+--------------------
+
+The purpose of this document is to help users quickly set up a testing 
environment for YARN Federation. With this testing environment, users can 
utilize the core functionality of YARN Federation. This is the simplest test 
cluster setup (based on Linux) with only essential configurations (YARN non-HA 
mode). We require 3 machines, and each machine should have at least <4C, 8GB> 
of resources. We only cover YARN configuration in this document. For 
information on configuring HDFS and ZooKeeper, please refer to other 
documentation sources.
+
+Test Environment Description:
+- We need to build a HDFS test environment, this part can refer to HDFS 
documentation.
+- We need two YARN clusters, each YARN cluster has one RM and one NM, The RM 
and NM on the same node.
+- We need one ZK cluster(We only need one ZooKeeper node.), this part can 
refer to Zookeeper documentation.
+- We need one Router and one Client.
+
+Example of Machine-Role Mapping(Exclude HDFS):
+
+| Machine   | Role          | 
+|:----------|:--------------|
+| Machine A | RM1\NM1\ZK1   |                                                  
|

Review Comment:
   Thank you very much for your help in reviewing the code! I will improve this 
paragraph.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to