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:
parent
d41eb4f0f4
commit
b5adfe1031
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue