This is an automated email from the ASF dual-hosted git repository.
paksyd pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/master by this push:
new bdeeae81699 HBASE-29511 Add deprecation cycle for Address.getHostname
(#7220)
bdeeae81699 is described below
commit bdeeae816991ccc2e15e656a730fd15f40b437d7
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]>
---
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() {