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 "Felix N (Jira)" <ji...@apache.org> on 2022/01/06 11:13:00 UTC

[jira] [Updated] (HDFS-16417) RBF: StaticRouterRpcFairnessPolicyController init fails with division by 0 if concurrent ns handler count is configured

     [ https://issues.apache.org/jira/browse/HDFS-16417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix N updated HDFS-16417:
---------------------------
    Attachment: HDFS-16417.001.patch
        Status: Patch Available  (was: Open)

> RBF: StaticRouterRpcFairnessPolicyController init fails with division by 0 if concurrent ns handler count is configured
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-16417
>                 URL: https://issues.apache.org/jira/browse/HDFS-16417
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: rbf
>            Reporter: Felix N
>            Priority: Minor
>         Attachments: HDFS-16417.001.patch
>
>
> If {{dfs.federation.router.fairness.handler.count.concurrent}} is configured, unassignedNS is thus empty and {{handlerCount % unassignedNS.size()}} will throw a /0 exception.
> Changed it to assigning extra handlers to concurrent ns in case it's configured.



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