[ https://issues.apache.org/jira/browse/HDFS-16417?focusedWorklogId=704881&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-704881 ]
ASF GitHub Bot logged work on HDFS-16417: ----------------------------------------- Author: ASF GitHub Bot Created on: 07/Jan/22 02:41 Start Date: 07/Jan/22 02:41 Worklog Time Spent: 10m Work Description: kokonguyen191 opened a new pull request #3871: URL: https://github.com/apache/hadoop/pull/3871 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 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: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 704881) Remaining Estimate: 0h Time Spent: 10m > 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 > Labels: pull-request-available > Attachments: HDFS-16417.001.patch > > Time Spent: 10m > Remaining Estimate: 0h > > 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