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

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


The following commit(s) were added to refs/heads/main by this push:
     new 2b026a35f [CELEBORN-1564][FOLLOWUP] Remove unused variables
2b026a35f is described below

commit 2b026a35fcc823019a89d12a552394c0a4c25e1e
Author: Wang, Fei <[email protected]>
AuthorDate: Fri Nov 1 15:43:02 2024 +0800

    [CELEBORN-1564][FOLLOWUP] Remove unused variables
    
    ### What changes were proposed in this pull request?
    
    Remove unused variables.
    
    ### Why are the changes needed?
    
    Followup for https://github.com/apache/celeborn/pull/2688
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    GA.
    
    Closes #2872 from turboFei/1564_followup.
    
    Authored-by: Wang, Fei <[email protected]>
    Signed-off-by: mingji <[email protected]>
---
 .../main/scala/org/apache/celeborn/service/deploy/master/Master.scala  | 3 ---
 1 file changed, 3 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 368eb5c66..bef74b1c5 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
@@ -192,9 +192,6 @@ private[celeborn] class Master(
   private val userResourceConsumptions =
     JavaUtils.newConcurrentHashMap[UserIdentifier, (ResourceConsumption, 
Long)]()
 
-  private def diskReserveSize = conf.workerDiskReserveSize
-  private def diskReserveRatio = conf.workerDiskReserveRatio
-
   private val slotsAssignMaxWorkers = conf.masterSlotAssignMaxWorkers
   private val slotsAssignLoadAwareDiskGroupNum = 
conf.masterSlotAssignLoadAwareDiskGroupNum
   private val slotsAssignLoadAwareDiskGroupGradient =

Reply via email to