liuml07 commented on a change in pull request #2204:
URL: https://github.com/apache/hbase/pull/2204#discussion_r466046163



##########
File path: 
hbase-server/src/main/java/org/apache/hadoop/hbase/monitoring/MonitoredTaskImpl.java
##########
@@ -271,7 +270,20 @@ public void disableStatusJournal() {
 
   @Override
   public String prettyPrintJournal() {
-    return StringUtils.join("\n\t", getStatusJournal());
+    StringBuilder sb = new StringBuilder();
+    for (int i = 0; i < journal.size(); i++) {

Review comment:
       Will `journal` be null ever?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to