[ 
https://issues.apache.org/jira/browse/HDFS-16877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17654112#comment-17654112
 ] 

ASF GitHub Bot commented on HDFS-16877:
---------------------------------------

simbadzina commented on code in PR #5257:
URL: https://github.com/apache/hadoop/pull/5257#discussion_r1060799582


##########
hadoop-hdfs-project/hadoop-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/RouterRpcServer.java:
##########
@@ -510,6 +513,15 @@ BalanceProcedureScheduler getFedRenameScheduler() {
     return this.fedRenameScheduler;
   }
 
+  /**
+   * Get the routerStateIdContext used by this server.
+   * @return routerStateIdContext
+   */
+  @VisibleForTesting
+  public RouterStateIdContext getRouterStateIdContext() {

Review Comment:
   Protected works too. If we need to increase visibility later, we can do so.





> Namenode doesn't use alignment context in TestObserverWithRouter
> ----------------------------------------------------------------
>
>                 Key: HDFS-16877
>                 URL: https://issues.apache.org/jira/browse/HDFS-16877
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: hdfs, rbf
>            Reporter: Simbarashe Dzinamarira
>            Priority: Major
>              Labels: pull-request-available
>
> We need to set "{*}dfs.namenode.state.context.enabled{*}" to true for the 
> namenode to send it's stateId in client responses.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to