File tree Expand file tree Collapse file tree
ballista/scheduler/src/state Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -919,7 +919,9 @@ impl ExecutionGraph for AdaptiveExecutionGraph {
919919
920920 /// Return all currently running tasks along with the executor ID on which they are assigned
921921 fn running_tasks ( & self ) -> Vec < RunningTaskInfo > {
922- self . stages . values ( ) . flat_map ( |stage| {
922+ self . stages
923+ . values ( )
924+ . flat_map ( |stage| {
923925 if let ExecutionStage :: Running ( stage) = stage {
924926 stage
925927 . running_tasks ( )
Original file line number Diff line number Diff line change @@ -1319,7 +1319,9 @@ impl ExecutionGraph for StaticExecutionGraph {
13191319
13201320 /// Return all currently running tasks along with the executor ID on which they are assigned
13211321 fn running_tasks ( & self ) -> Vec < RunningTaskInfo > {
1322- self . stages . values ( ) . flat_map ( |stage| {
1322+ self . stages
1323+ . values ( )
1324+ . flat_map ( |stage| {
13231325 if let ExecutionStage :: Running ( stage) = stage {
13241326 stage
13251327 . running_tasks ( )
Original file line number Diff line number Diff line change @@ -438,7 +438,9 @@ impl ExecutorManager {
438438 get_time_before ( self . config . executor_termination_grace_period ) ;
439439
440440 self . cluster_state
441- . executor_heartbeats ( ) . values ( ) . filter_map ( |heartbeat| {
441+ . executor_heartbeats ( )
442+ . values ( )
443+ . filter_map ( |heartbeat| {
442444 let terminating = matches ! (
443445 heartbeat
444446 . status
You can’t perform that action at this time.
0 commit comments