-
Notifications
You must be signed in to change notification settings - Fork 9.2k
HDFS-16417. RBF: StaticRouterRpcFairnessPolicyController init fails with division by 0 if concurrent ns handler count is configured #3871
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
💔 -1 overall
This message was automatically generated. |
|
There seems to fail in: hadoop.hdfs.server.federation.router.TestRouterFederationRename Can you take a look? |
|
Not sure why these 2 timed out, both pass normally when I run in local. |
ferhui
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
|
@ferhui any idea on why those tests fail? |
I think usually the CI environment has heavy load and some tests are time out |
|
Changes are unrelated to failed tests and they passed locally. |
|
@kokonguyen191 Thanks for your contribution. @goiri Thanks for your review! merged |
If
dfs.federation.router.fairness.handler.count.concurrentis configured,unassignedNSis thus empty andhandlerCount % unassignedNS.size()will throw a /0 exception.Changed it to assigning extra handlers to concurrent ns in case it's configured.