Skip to content

Commit

Permalink
HDFS-16831. Modify the doc for shuffleObserverNN
Browse files Browse the repository at this point in the history
  • Loading branch information
ZanderXu committed Nov 9, 2022
1 parent 4451a84 commit 2329cb7
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,9 @@ private void updateNameNodeState(final String nsId,

/**
* Try to shuffle the multiple observer namenodes if listObserversFirst is true.
* @param inputNameNodes the input namenodes which has been sorted by NamenodePriorityComparator
* @param listObserversFirst true if we need to shuffule the multiple observer namenodes.
* @param inputNameNodes the input FederationNamenodeContext list. If listObserversFirst is true,
* all observers will be placed at the front of the collection.
* @param listObserversFirst true if we need to shuffle the multiple front observer namenodes.
* @return a list of FederationNamenodeContext.
* @param <T> a subclass of FederationNamenodeContext.
*/
Expand Down

0 comments on commit 2329cb7

Please sign in to comment.