You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by zh...@apache.org on 2023/06/06 14:26:25 UTC

[hbase] branch branch-2.5 updated: HBASE-27899 Beautify the output information of the getStats method in ReplicationSource (#5269)

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

zhangduo 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 556e11d9ad8 HBASE-27899 Beautify the output information of the getStats method in ReplicationSource (#5269)
556e11d9ad8 is described below

commit 556e11d9ad8fd062a62ac9b693911109b2639016
Author: Jack-cc <34...@users.noreply.github.com>
AuthorDate: Tue Jun 6 22:19:55 2023 +0800

    HBASE-27899 Beautify the output information of the getStats method in ReplicationSource (#5269)
    
    Signed-off-by: 874645213@qq.com <jiancong123~>
    Co-authored-by: 874645213@qq.com <jiancong123~>
    Signed-off-by: Duo Zhang <zh...@apache.org>
    (cherry picked from commit 3df01ea9b6de69de38bd82304c37ee274839d91f)
---
 .../apache/hadoop/hbase/replication/regionserver/ReplicationSource.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSource.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSource.java
index 1942a014ba3..07f05b4ceed 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSource.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/replication/regionserver/ReplicationSource.java
@@ -784,7 +784,7 @@ public class ReplicationSource implements ReplicationSourceInterface {
         sb.append("currently replicating from: ").append(currentPath).append(" at position: ")
           .append(position).append("\n");
       } else {
-        sb.append("no replication ongoing, waiting for new log");
+        sb.append("no replication ongoing, waiting for new log").append("\n");
       }
     }
     return sb.toString();