Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zaynt4606 committed Sep 20, 2024
1 parent 6bf19e6 commit 84a795a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1608,7 +1608,7 @@ class LifecycleManager(val appUniqueId: String, val conf: CelebornConf) extends
val unregisterShuffleResponse = batchRequestMasterUnregisterShuffles(
BatchUnregisterShuffles(appUniqueId, batchRemoveShuffleIds, MasterClient.genRequestId()))
if (StatusCode.SUCCESS == Utils.toStatusCode(unregisterShuffleResponse.getStatus)) {
batchRemoveShuffleIds.forEach { shuffleId =>
batchRemoveShuffleIds.forEach { shuffleId: Integer =>
unregisterShuffleTime.remove(shuffleId)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class LifecycleManagerUnregisterShuffleSuite extends WithShuffleClientSuite

test("test unregister shuffle in batch") {
val conf = celebornConf.clone
conf.set(CelebornConf.CLIENT_BATCH_REMOVE_EXPIRED_SHUFFLE.key, "true")
conf.set(CelebornConf.CLIENT_BATCH_REMOVE_EXPIRED_SHUFFLE_ENABLED.key, "true")
val lifecycleManager: LifecycleManager = new LifecycleManager(APP, conf)
val counts = 10
val ids =
Expand Down

0 comments on commit 84a795a

Please sign in to comment.