[ https://issues.apache.org/jira/browse/HDFS-16417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17470308#comment-17470308 ]
Felix N commented on HDFS-16417: -------------------------------- Hi [~elgoiri], sorry I was using the wrong formatter, hence the imports change. I have submitted a PR with that addressed. > 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