You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Felix N (Jira)" <ji...@apache.org> on 2022/01/06 11:12:00 UTC

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

Felix N created HDFS-16417:
------------------------------

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


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