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

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


The following commit(s) were added to refs/heads/branch-2.5 by this push:
     new d2c08cecd2b HBASE-29290 Include port number of Region Server in the 
Replication Status message (#7212)
d2c08cecd2b is described below

commit d2c08cecd2b82cb70c240388b9fc754e37d91e1a
Author: Chandra Sekhar K <[email protected]>
AuthorDate: Fri Aug 15 17:40:54 2025 +0530

    HBASE-29290 Include port number of Region Server in the Replication Status 
message (#7212)
    
    Signed-off-by: Pankaj Kumar <[email protected]>, Peng Lu 
<[email protected]>
---
 hbase-shell/src/main/ruby/hbase/admin.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hbase-shell/src/main/ruby/hbase/admin.rb 
b/hbase-shell/src/main/ruby/hbase/admin.rb
index 9a2721edc71..9682f616ad6 100644
--- a/hbase-shell/src/main/ruby/hbase/admin.rb
+++ b/hbase-shell/src/main/ruby/hbase/admin.rb
@@ -926,7 +926,7 @@ module Hbase
 
           r_load_source_map = sl.getReplicationLoadSourceMap
           build_source_string(r_load_source_map, r_source_string)
-          puts(format('    %<host>s:', host: server_status.getHostname))
+          puts(format('    %<host>s:%<port>s %<startcode>s', host: 
server_status.getHostname, port:server_status.getPort, startcode: 
server_status.getStartcode))
           if type.casecmp('SOURCE').zero?
             puts(format('%<source>s', source: r_source_string))
           elsif type.casecmp('SINK').zero?

Reply via email to