You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by nd...@apache.org on 2021/12/17 00:42:06 UTC
[hbase] branch branch-2.4 updated: HBASE-26542 Apply a `package` to test protobuf files (addendum)
This is an automated email from the ASF dual-hosted git repository.
ndimiduk pushed a commit to branch branch-2.4
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-2.4 by this push:
new 7957b0c HBASE-26542 Apply a `package` to test protobuf files (addendum)
7957b0c is described below
commit 7957b0cc7e0e8b162441df4d6152a544346682f6
Author: Nick Dimiduk <nd...@apache.org>
AuthorDate: Thu Dec 16 10:51:55 2021 -0800
HBASE-26542 Apply a `package` to test protobuf files (addendum)
RpcServer identifies the services it hosts by unqualified service name. Thus, use `getName()`
instead of `getFullName()`. See also HBASE-26589.
Signed-off-by: Peter Somogyi <ps...@apache.org>
---
.../org/apache/hadoop/hbase/ipc/TestRpcServerSlowConnectionSetup.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/ipc/TestRpcServerSlowConnectionSetup.java b/hbase-server/src/test/java/org/apache/hadoop/hbase/ipc/TestRpcServerSlowConnectionSetup.java
index aedf57e..3627262 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/ipc/TestRpcServerSlowConnectionSetup.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/ipc/TestRpcServerSlowConnectionSetup.java
@@ -114,7 +114,7 @@ public class TestRpcServerSlowConnectionSetup {
socket.getOutputStream().flush();
ConnectionHeader header = ConnectionHeader.newBuilder()
- .setServiceName(TestRpcServiceProtos.TestProtobufRpcProto.getDescriptor().getFullName())
+ .setServiceName(TestRpcServiceProtos.TestProtobufRpcProto.getDescriptor().getName())
.setVersionInfo(ProtobufUtil.getVersionInfo()).build();
DataOutputStream dos = new DataOutputStream(socket.getOutputStream());
dos.writeInt(header.getSerializedSize());