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

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

                Author: ASF GitHub Bot
            Created on: 27/Nov/21 16:11
            Start Date: 27/Nov/21 16:11
    Worklog Time Spent: 10m 
      Work Description: 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]


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

            Worklog Id:     (was: 687029)
    Remaining Estimate: 0h
            Time Spent: 10m

> RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying
> ---------------------------------------------------------------------------
>
>                 Key: HDFS-16359
>                 URL: https://issues.apache.org/jira/browse/HDFS-16359
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: tomscut
>            Assignee: tomscut
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> RouterRpcServer#invokeAtAvailableNs does not take effect when retrying.
> The original code of RouterRpcServer#getNameSpaceInfo looks like this:
> {code:java}
> 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;
> }  {code}
> And _namespaceInfos_ is always empty here.



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

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

Reply via email to