[ 
https://issues.apache.org/jira/browse/HDFS-16369?focusedWorklogId=690203&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-690203
 ]

ASF GitHub Bot logged work on HDFS-16369:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 03/Dec/21 17:30
            Start Date: 03/Dec/21 17:30
    Worklog Time Spent: 10m 
      Work Description: goiri commented on a change in pull request #3745:
URL: https://github.com/apache/hadoop/pull/3745#discussion_r762121422



##########
File path: 
hadoop-hdfs-project/hadoop-hdfs-rbf/src/test/java/org/apache/hadoop/hdfs/server/federation/router/TestRouterRPCMultipleDestinationMountTableResolver.java
##########
@@ -668,14 +674,16 @@ public void testInvokeAtAvailableNs() throws IOException {
     // Make one subcluster unavailable.
     MiniDFSCluster dfsCluster = cluster.getCluster();
     dfsCluster.shutdownNameNode(0);
+    dfsCluster.shutdownNameNode(1);
     try {
       // Verify that #invokeAtAvailableNs works by calling #getServerDefaults.
       RemoteMethod method = new RemoteMethod("getServerDefaults");
       FsServerDefaults serverDefaults =
           rpcServer.invokeAtAvailableNs(method, FsServerDefaults.class);
       assertNotNull(serverDefaults);

Review comment:
       Yes, the flakiness is not ideal.
   Let's go with this.




-- 
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


Issue Time Tracking
-------------------

    Worklog Id:     (was: 690203)
    Time Spent: 1h 10m  (was: 1h)

> RBF: Fix the retry logic of RouterRpcServer#invokeAtAvailableNs
> ---------------------------------------------------------------
>
>                 Key: HDFS-16369
>                 URL: https://issues.apache.org/jira/browse/HDFS-16369
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Ayush Saxena
>            Assignee: Ayush Saxena
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> As of now invokeAtAvailableNs, retries only once if the default or the first 
> namespace is not available, despite having other namespaces available.
> Optimise to retry on all namespaces.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

---------------------------------------------------------------------
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