-
Notifications
You must be signed in to change notification settings - Fork 9.1k
HDFS-16539. RBF: Support refreshing/changing router fairness policy controller without rebooting router #4168
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. |
💔 -1 overall
This message was automatically generated. |
Don't think the failed install is related since it failed on yarn |
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.
@kokonguyen191 Thanks for your contribution. it is a good feature.
I have some minor comments
...-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/RouterRpcClient.java
Show resolved
Hide resolved
...-hdfs-rbf/src/main/java/org/apache/hadoop/hdfs/server/federation/router/RouterRpcClient.java
Outdated
Show resolved
Hide resolved
...apache/hadoop/hdfs/server/federation/fairness/TestRouterRefreshFairnessPolicyController.java
Outdated
Show resolved
Hide resolved
🎊 +1 overall
This message was automatically generated. |
💔 -1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
@kokonguyen191 Thanks. It looks good. |
🎊 +1 overall
This message was automatically generated. |
@kokonguyen191 Thanks for your contribution. Merged |
…ontroller without rebooting router (apache#4168)
…ontroller without rebooting router (apache#4168)
Description of PR
Add support for refreshing/changing router fairness policy controller without the need to shutdown and boot a router.
This patch makes use of the generic refresh feature on RouterAdmin. Usage:
hdfs dfsrouteradmin -refreshRouterArgs ROUTER_ADDR RefreshFairnessPolicyController
How was this patch tested?
Unit test and local deployment.
For code changes: