From 3df01ea9b6de69de38bd82304c37ee274839d91f 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 --- .../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 7eba8889511..e4da44e9b13 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 @@ -789,7 +789,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();