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

Reply via email to