-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Backport 2.x] Rename public classes with 'Master' to 'ClusterManager' #3870
Conversation
Replace master terminology by cluster manager in the public Java APIs to support inclusive language. The PR deal with the public class name in the repository (except for those covered in issue #3542). * Replace Master to ClusterManager for all the classes, including all the references to the classes. The next PR will be like de21446, adding back the classes in old name for backwards compatibility. List of classes that renamed in this PR: sever directory: interface LocalNodeMasterListener -> LocalNodeClusterManagerListener final class MasterNodeChangePredicate -> ClusterManagerNodeChangePredicate NotMasterException -> NotClusterManagerException NoMasterBlockService -> NoClusterManagerBlockService UnsafeBootstrapMasterCommand - UnsafeBootstrapClusterManagerCommand MasterService -> UnsafeBootstrapClusterManagerCommand MasterNotDiscoveredException -> ClusterManagerNotDiscoveredException RestMasterAction -> RestClusterManagerAction test/framework directory: FakeThreadPoolMasterService -> FakeThreadPoolClusterManagerService BlockMasterServiceOnMaster -> BlockClusterManagerServiceOnMaster BusyMasterServiceDisruption -> BusyClusterManagerServiceDisruption Signed-off-by: Tianli Feng <ftianli@amazon.com> (cherry picked from commit a7e113a)
Gradle Check (Jenkins) Run Completed with:
|
In build 475
It's reported in issue #3579 |
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
@@ Coverage Diff @@
## 2.x #3870 +/- ##
======================================
Coverage ? 70.51%
Complexity ? 56330
======================================
Files ? 4520
Lines ? 271634
Branches ? 39972
======================================
Hits ? 191534
Misses ? 63991
Partials ? 16109 Continue to review full report at Codecov.
|
@reta Thank you for your review! |
Signed-off-by: Tianli Feng <ftianli@amazon.com>
Gradle Check (Jenkins) Run Completed with:
|
Signed-off-by: Tianli Feng <ftianli@amazon.com>
Gradle Check (Jenkins) Run Completed with:
|
In build 487, it's the test failure of #3579 |
Gradle Check (Jenkins) Run Completed with:
|
In build 491, the test failure is reported in issue #3650 |
Gradle Check (Jenkins) Run Completed with:
|
in build 494:
|
|
Gradle Check (Jenkins) Run Completed with:
|
@owaiskazi19 Thanks for your review! |
…ckMasterServiceOnMaster and BusyMasterServiceDisruption Signed-off-by: Tianli Feng <ftianli@amazon.com>
Signed-off-by: Tianli Feng <ftianli@amazon.com>
Signed-off-by: Tianli Feng <ftianli@amazon.com>
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
In Build 648:
It must caused by version 1.3.5 is not added into bwcVersions file of 2.x branch. The code will be like e724b2e |
Gradle Check (Jenkins) Run Completed with:
|
Backport a7e113a from #3619
Description:
Replace
master
terminology bycluster manager
in the public Java APIs to support inclusive language.The PR deal with the public class name in the repository (except for those covered in issue #3542).
Master
toClusterManager
for all the classes, including all the references to the classes.The above changes are done by the Rename refactoring feature of IntelliJ IDEA, so that both the definition and reference can be renamed.
The next PR will be like de21446, adding back the classes in old name for backwards compatibility, so this will not be a breaking change eventually.
List of classes that renamed in this PR:
sever
directory:interface LocalNodeMasterListener -> LocalNodeClusterManagerListener
final class MasterNodeChangePredicate -> ClusterManagerNodeChangePredicate
NotMasterException -> NotClusterManagerException
NoMasterBlockService -> NoClusterManagerBlockService
UnsafeBootstrapMasterCommand - UnsafeBootstrapClusterManagerCommand
MasterNotDiscoveredException -> ClusterManagerNotDiscoveredException
RestMasterAction -> RestClusterManagerAction
List of classes that are not renamed:
sever
directory:MasterService
test/framework
directory:FakeThreadPoolMasterService
BlockMasterServiceOnMaster
BusyMasterServiceDisruption