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

chandra 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 0c0b3f4541f HBASE-29290 Include port number of Region Server in the 
Replication Status message
0c0b3f4541f is described below

commit 0c0b3f4541fb964b685357d0f67450f9755f16b0
Author: chandrasekhar-188k 
<[email protected]>
AuthorDate: Wed May 7 19:37:51 2025 +0530

    HBASE-29290 Include port number of Region Server in the Replication Status 
message
---
 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 bceb1a4fe02..279f66bff73 100644
--- a/hbase-shell/src/main/ruby/hbase/admin.rb
+++ b/hbase-shell/src/main/ruby/hbase/admin.rb
@@ -1005,7 +1005,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_name.getHostname))
+          puts(format('    %<host>s:%<port>s %<startcode>s', host: 
server_name.getHostname, port:server_name.getPort, startcode: 
server_name.getStartcode))
           if type.casecmp('SOURCE').zero?
             puts(format('%<source>s', source: r_source_string))
           elsif type.casecmp('SINK').zero?

Reply via email to