tomscut opened a new pull request #3731:
URL: https://github.com/apache/hadoop/pull/3731


   JIRA: [HDFS-16359](https://issues.apache.org/jira/browse/HDFS-16359).
   
   RouterRpcServer#invokeAtAvailableNs does not take effect when retrying.
   
   The original code of RouterRpcServer#getNameSpaceInfo looks like follwings, 
and `namespaceInfos` is always empty here.
   ```
   private Set<FederationNamespaceInfo> getNameSpaceInfo(String nsId) {
     Set<FederationNamespaceInfo> namespaceInfos = new HashSet<>();
     for (FederationNamespaceInfo ns : namespaceInfos) {
       if (!nsId.equals(ns.getNameserviceId())) {
         namespaceInfos.add(ns);
       }
     }
     return namespaceInfos;
   } 
   ```


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