public static Optional<InetAddress> getRemoteAddress() {
    return getCurrentCall().map(RpcCall::getRemoteAddress);
  }
Returns the address of the remote client associated with the current RPC request or not present
if no address is set.
hbase-server/src/main/java/org/apache/hadoop/hbase/ipc/RpcServer.java