Skip to content

Commit

Permalink
Fix ExecutorLost event debug info (apache#988)
Browse files Browse the repository at this point in the history
  • Loading branch information
lewiszlw authored Mar 5, 2024
1 parent fb36cff commit 1be0a46
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions ballista/scheduler/src/scheduler_server/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,11 @@ impl Debug for QueryStageSchedulerEvent {
QueryStageSchedulerEvent::ReviveOffers => {
write!(f, "ReviveOffers.")
}
QueryStageSchedulerEvent::ExecutorLost(job_id, reason) => {
write!(f, "ExecutorLost : job_id={job_id}, reason:[{reason:?}].")
QueryStageSchedulerEvent::ExecutorLost(executor_id, reason) => {
write!(
f,
"ExecutorLost : executor_id={executor_id}, reason:[{reason:?}]."
)
}
QueryStageSchedulerEvent::CancelTasks(status) => {
write!(f, "CancelTasks : status:[{status:?}].")
Expand Down

0 comments on commit 1be0a46

Please sign in to comment.