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

zhouky pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-celeborn.git


The following commit(s) were added to refs/heads/main by this push:
     new 304b79647 [MINOR] Fix wrong description about app list
304b79647 is described below

commit 304b796475e35df169009ad1157aaa59ca108b3b
Author: xleoken <[email protected]>
AuthorDate: Thu Oct 12 20:43:03 2023 +0800

    [MINOR] Fix wrong description about app list
    
    ### What changes were proposed in this pull request?
    
    Fix wrong description about app list.
    
    ### How was this patch tested?
    
    local.
    
    Closes #1979 from xleoken/patch2.
    
    Authored-by: xleoken <[email protected]>
    Signed-off-by: zky.zhoukeyong <[email protected]>
---
 .../main/scala/org/apache/celeborn/service/deploy/master/Master.scala | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/master/src/main/scala/org/apache/celeborn/service/deploy/master/Master.scala 
b/master/src/main/scala/org/apache/celeborn/service/deploy/master/Master.scala
index 1dcf71324..18a5b7560 100644
--- 
a/master/src/main/scala/org/apache/celeborn/service/deploy/master/Master.scala
+++ 
b/master/src/main/scala/org/apache/celeborn/service/deploy/master/Master.scala
@@ -904,7 +904,7 @@ private[celeborn] class Master(
 
   override def getApplicationList: String = {
     val sb = new StringBuilder
-    sb.append("================= LifecycleManager Hostname List 
======================\n")
+    sb.append("================= LifecycleManager Application List 
======================\n")
     statusSystem.appHeartbeatTime.asScala.toSeq.sortBy(_._2).foreach { case 
(appId, time) =>
       sb.append(s"${appId.padTo(40, " ").mkString}${dateFmt.format(time)}\n")
     }
@@ -923,7 +923,7 @@ private[celeborn] class Master(
   override def listTopDiskUseApps: String = {
     val sb = new StringBuilder
     sb.append("================== Top Disk Usage Applications 
=======================\n")
-    sb.append(statusSystem.appDiskUsageMetric.summary)
+    sb.append(statusSystem.appDiskUsageMetric.summary())
     sb.toString()
   }
 

Reply via email to