From c7abf17568415513b5ae505d4ff5433944b71548 Mon Sep 17 00:00:00 2001 From: Jack-cc <34852224+Liang-jc@users.noreply.github.com> Date: Tue, 6 Jun 2023 22:19:55 +0800 Subject: [PATCH] HBASE-27899 Beautify the output information of the getStats method in ReplicationSource (#5269) Signed-off-by: 874645213@qq.com Co-authored-by: 874645213@qq.com Signed-off-by: Duo Zhang (cherry picked from commit 3df01ea9b6de69de38bd82304c37ee274839d91f) --- .../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 a980d77eae1..3598f06ecdc 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 @@ -781,7 +781,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();