[ISSUE-534][REFACTOR] Refactor log when call handleGetReducerFileGroup (#535)

This commit is contained in:
AngersZhuuuu 2022-09-05 19:48:57 +08:00 committed by GitHub
parent 82566148d8
commit f7211204f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -637,14 +637,14 @@ class LifecycleManager(appId: String, val conf: RssConf) extends RpcEndpoint wit
while (!stageEndShuffleSet.contains(shuffleId)) {
Thread.sleep(delta)
if (timeout <= 0) {
logError(s"StageEnd Timeout! $shuffleId.")
logError(s"[handleGetReducerFileGroup] Wait for handleStageEnd Timeout! $shuffleId.")
context.reply(
GetReducerFileGroupResponse(StatusCode.StageEndTimeOut, Array.empty, Array.empty))
return
}
timeout = timeout - delta
}
logInfo("[handleGetReducerFileGroup] Wait for handleStageEnd complete cost" +
logDebug("[handleGetReducerFileGroup] Wait for handleStageEnd complete cost" +
s" ${stageEndTimeout - timeout}ms")
if (dataLostShuffleSet.contains(shuffleId)) {