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

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

                Author: ASF GitHub Bot
            Created on: 01/Dec/21 23:27
            Start Date: 01/Dec/21 23:27
    Worklog Time Spent: 10m 
      Work Description: goiri commented on pull request #3731:
URL: https://github.com/apache/hadoop/pull/3731#issuecomment-984151180


   > Makes sense, it was initialy implemented itself to try once only even in 
case of fault tolerance. This PR is just fixing that behaviour. Will raise a 
jira to track the change the retry mechanism to all available Namespaces…
   > 
   > @goiri does that makes sense?
   
   Yes, let's fix the current behavior and open a new JIRA with the general 
retry issue.


-- 
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: 688964)
    Time Spent: 3.5h  (was: 3h 20m)

> 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: 3.5h
>  Remaining Estimate: 0h
>
> RouterRpcServer#invokeAtAvailableNs does not take effect when retrying. See 
> HDFS-15543.
> 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