From 05449bd763510631a3ec3cde910720daf9bea91d Mon Sep 17 00:00:00 2001 From: Ruanhui <32773751+frostruan@users.noreply.github.com> Date: Wed, 13 Sep 2023 11:06:53 +0800 Subject: [PATCH] HBASE-28080 correct span name in AbstractRpcBasedConnectionRegistry#getActiveMaster (#5400) Co-authored-by: huiruan <876107431@qq.com> Signed-off-by: Duo Zhang (cherry picked from commit 800d8b374c3a1e74e383fa5eaab0b6c9d270a7cc) --- .../hadoop/hbase/client/AbstractRpcBasedConnectionRegistry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AbstractRpcBasedConnectionRegistry.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AbstractRpcBasedConnectionRegistry.java index 6dd14a520ee4..4e97dcab24dd 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AbstractRpcBasedConnectionRegistry.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AbstractRpcBasedConnectionRegistry.java @@ -268,7 +268,7 @@ public CompletableFuture getActiveMaster() { (c, s, d) -> s.getActiveMaster(c, GetActiveMasterRequest.getDefaultInstance(), d), GetActiveMasterResponse::hasServerName, "getActiveMaster()") .thenApply(resp -> ProtobufUtil.toServerName(resp.getServerName())), - getClass().getSimpleName() + ".getClusterId"); + getClass().getSimpleName() + ".getActiveMaster"); } @Override