HBASE-25072 Remove the unnecessary System.out.println in MasterRegistry (#2429)

Co-authored-by: niuyulin <niuyulin@xiaomi.com>
Signed-off-by: Jan Hentschel <janh@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
This commit is contained in:
niuyulin 2020-09-21 02:08:43 +08:00 committed by GitHub
parent d41eb4f0f4
commit b5adfe1031
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -325,7 +325,6 @@ public class MasterRegistry implements ConnectionRegistry {
} }
CompletableFuture<List<ServerName>> getMasters() { CompletableFuture<List<ServerName>> getMasters() {
System.out.println("getMasters()");
return this return this
.<GetMastersResponse> call((c, s, d) -> s.getMasters( .<GetMastersResponse> call((c, s, d) -> s.getMasters(
c, GetMastersRequest.getDefaultInstance(), d), r -> r.getMasterServersCount() != 0, c, GetMastersRequest.getDefaultInstance(), d), r -> r.getMasterServersCount() != 0,
@ -346,4 +345,4 @@ public class MasterRegistry implements ConnectionRegistry {
rpcClient.close(); rpcClient.close();
} }
} }
} }