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 <zhangduo@apache.org>
(cherry picked from commit 3df01ea9b6
)
This commit is contained in:
parent
61a876f5a9
commit
e3e6f4ceea
|
@ -784,7 +784,7 @@ public class ReplicationSource implements ReplicationSourceInterface {
|
||||||
sb.append("currently replicating from: ").append(currentPath).append(" at position: ")
|
sb.append("currently replicating from: ").append(currentPath).append(" at position: ")
|
||||||
.append(position).append("\n");
|
.append(position).append("\n");
|
||||||
} else {
|
} else {
|
||||||
sb.append("no replication ongoing, waiting for new log");
|
sb.append("no replication ongoing, waiting for new log").append("\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return sb.toString();
|
return sb.toString();
|
||||||
|
|
Loading…
Reference in New Issue