You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Ayush Saxena (Jira)" <ji...@apache.org> on 2021/12/02 13:42:00 UTC

[jira] [Commented] (HDFS-16359) RBF: RouterRpcServer#invokeAtAvailableNs does not take effect when retrying

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

Ayush Saxena commented on HDFS-16359:
-------------------------------------

Committed to trunk. 

Thanx [~tomscut] for the contribution!!!

> 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: 4h
>  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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org