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

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


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

commit d3a2924cbd662068672d375c63cc07e06d38cdb6
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 e0a48d0b9b4..89038c02125 100644
--- a/hbase-shell/src/main/ruby/hbase/admin.rb
+++ b/hbase-shell/src/main/ruby/hbase/admin.rb
@@ -938,7 +938,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