-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
HBASE-25851 Make LoadBalancer not extend Configurable interface #3233
Conversation
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
🎊 +1 overall
This message was automatically generated. |
return provider.getConfiguration(); | ||
} | ||
|
||
protected void setConf(Configuration conf) { |
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.
I wonder after setconf
, maybe getconf
is expired result, so setconf
should be none parameter, only use provider's conf ?
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.
There is another call path, from ConfigurationObserver.onConfigurationChange, so here we need to keep this method as is.
Filed HBASE-25852 for moving the intialization work all to initialize method, which could make the implementation more clear.
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
…he#3233) Signed-off-by: Yulin Niu <niuyulin@apache.org>
… (#3235) Signed-off-by: Yulin Niu <niuyulin@apache.org>
No description provided.