-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-23305: Master based registry implementation (#954) #1101
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
* HBASE-23604: Cleanup AsyncRegistry interface - Cleans up the method names to make more sense and adds a little more javadocs for context. In future patches we can revisit the name of the actual class to make it more self explanatory. - Does AsyncRegistry -> ConnectionRegistry rename. "async" ness of the registry is kind of implicit based on the interface contents and need not be reflected in the name. Signed-off-by: Nick Dimiduk <[email protected]> Signed-off-by: stack <[email protected]> Signed-off-by: Viraj Jasani <[email protected]> (cherry picked from commit 12bb41e)
…min (apache#994) * HBASE-23648: Re-use underlying connection registry in RawAsyncHBaseAdmin No need to create and close a new registry on demand. Audited other usages of getRegistry() and the code looks fine. * Fix checkstyle issues in RawAsyncHBaseAdmin (cherry picked from commit 07c3826)
728bcf2 to
76e397e
Compare
|
💔 -1 overall
This message was automatically generated. |
Implements a master based registry for clients. - Supports hedged RPCs (fan out configured via configs). - Parameterized existing client tests to run with multiple registry combinations. - Added unit-test coverage for the new registry implementation. Signed-off-by: Nick Dimiduk <[email protected]> Signed-off-by: stack <[email protected]> Signed-off-by: Andrew Purtell <[email protected]>
) Signed-off-by: Andrew Purtell <[email protected]> (cherry picked from commit fcb2012)
76e397e to
719d7e1
Compare
|
💔 -1 overall
This message was automatically generated. |
bharathv
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.
This back port to branch-2 includes most of the remaining commits (except the one that switches the default). The couple of failures are flakes. Ready for review.
There were a couple of issues. - There was a leak of a file descriptor for hbck lock file. This was contributing to all the "ConnectionRefused" stack traces since it was trying to renew lease for an already expired mini dfs cluster. This issue was there for a while, just that we noticed it now. - After upgrade to JUnit 4.13, it looks like the behavior for test timeouts has changed. Earlier the timeout seems to have applied for each parameterized run, but now it looks like it is applied across all the runs. This patch fixes both the issues. Signed-off-by: Stack <[email protected]> Signed-off-by: Jan Hentschel <[email protected]> (cherry picked from commit 60cb4f3)
719d7e1 to
1a1225b
Compare
|
🎊 +1 overall
This message was automatically generated. |
|
Is this the consolidated branch-2 backport? /cc @ndimiduk @saintstack |
bharathv
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.
Not it's not. @ndimiduk reverted the commits that this was building on. So I'll have to create another one from scratch after the feature branch merges with master. Closing this one to avoid confusion.
|
Thank you. |
HBASE-23305: Master based registry implementation (#954)