This is an automated email from the ASF dual-hosted git repository.

zhangduo pushed a commit to branch branch-3
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-3 by this push:
     new 57fa5cff7f6 HBASE-21243 Correct java-doc for the method 
RpcServer.getRemoteAddress()
57fa5cff7f6 is described below

commit 57fa5cff7f649b8a036e478cfe1a3aaffd40e515
Author: Nihal Jain <nihaljain...@gmail.com>
AuthorDate: Sat Dec 16 20:14:19 2023 +0800

    HBASE-21243 Correct java-doc for the method RpcServer.getRemoteAddress()
    
    Signed-off-by: Duo Zhang <zhang...@apache.org>
    (cherry picked from commit d747e15251e0bda9c76c052b2bd6dac1fac5b408)
---
 .../src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java         | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git 
a/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java 
b/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java
index f48183d0ee6..6b4bf28bc95 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java
@@ -790,7 +790,10 @@ public abstract class RpcServer implements 
RpcServerInterface, ConfigurationObse
     return getRequestUser().map(User::getShortName);
   }
 
-  /** Returns Address of remote client if a request is ongoing, else null */
+  /**
+   * Returns the address of the remote client associated with the current RPC 
request or not present
+   * if no address is set.
+   */
   public static Optional<InetAddress> getRemoteAddress() {
     return getCurrentCall().map(RpcCall::getRemoteAddress);
   }

Reply via email to