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

paksyd 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 f2323cfafe9 HBASE-29511 Add deprecation cycle for Address.getHostname 
(#7220)
f2323cfafe9 is described below

commit f2323cfafe9bef41836acf4aa16d908529a1816f
Author: Dávid Paksy <[email protected]>
AuthorDate: Thu Aug 14 12:35:53 2025 +0200

    HBASE-29511 Add deprecation cycle for Address.getHostname (#7220)
    
    Signed-off-by: Nihal Jain <[email protected]>
    Signed-off-by: Duo Zhang <[email protected]>
    (cherry picked from commit bdeeae816991ccc2e15e656a730fd15f40b437d7)
---
 hbase-common/src/main/java/org/apache/hadoop/hbase/net/Address.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/hbase-common/src/main/java/org/apache/hadoop/hbase/net/Address.java 
b/hbase-common/src/main/java/org/apache/hadoop/hbase/net/Address.java
index ef3520b31c7..96769683c30 100644
--- a/hbase-common/src/main/java/org/apache/hadoop/hbase/net/Address.java
+++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/net/Address.java
@@ -75,7 +75,8 @@ public class Address implements Comparable<Address> {
   }
 
   /**
-   * @deprecated Use {@link #getHostName()} instead
+   * @deprecated Since 1.7.0, 2.4.18 and 2.5.0, will be removed in 4.0.0. Use 
{@link #getHostName()}
+   *             instead.
    */
   @Deprecated
   public String getHostname() {

Reply via email to