-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HBASE-17624 Address late review of HBASE-6721, rsgroups feature
Addresses review comments by Sean Busbey and Appy that happened to come in long after the commit of HBASE-6721, the original rsgroup issue. Also includes subsequent accommodation of Duo Zhang review. Adds a new type to hold hostname and port. It is called Address. It is a facade over Guava's HostAndPort. Replace all instances of HostAndPort with Address. In particular, those places where HostAndPort was part of the rsgroup public API. Fix licenses. Add audience annotations. Cleanup and note concurrency expectation on a few core classes. In particular, all access on RSGroupInfoManager is made synchronized. M hbase-client/src/main/java/org/apache/hadoop/hbase/ServerName.java Host the hostname and port in an instance of the new type Address. Add a bunch of deprecation of exotic string parses that should never have been public. M hbase-rsgroup/src/main/java/org/apache/hadoop/hbase/rsgroup/RSGroupAdmin.java Make this an Interface rather than abstract class. Creation was a static internal method that only chose one type.... Let it be free as a true Interface instead.
- Loading branch information
1 parent
b2217d1
commit e019961
Showing
57 changed files
with
785 additions
and
807 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.