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

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


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

commit 899c4ae1068acfa57de4494f71ee454acbe707e6
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 c37dfb2e248..8904191a63a 100644
--- a/hbase-shell/src/main/ruby/hbase/admin.rb
+++ b/hbase-shell/src/main/ruby/hbase/admin.rb
@@ -936,7 +936,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