goiri commented on a change in pull request #3878:
URL: https://github.com/apache/hadoop/pull/3878#discussion_r785162286



##########
File path: 
hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/router/TestRouterHeartbeatService.java
##########
@@ -76,6 +75,8 @@ public void setup() throws Exception {
     curatorFramework.start();
     routerConfig.set(CommonConfigurationKeys.ZK_ADDRESS, connectStr);
     router.init(routerConfig);
+    // set custom routerid after router.init()
+    router.setRouterId(routerId);

Review comment:
       Wouldnt init already trigger this with the new code change?
   Or we need to force the specific routerId?




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to