Skip to content

Commit 178f7c3

Browse files
remove uneeded type
1 parent 4bfdac0 commit 178f7c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/status/AppStatusListener.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1097,7 +1097,7 @@ private[spark] class AppStatusListener(
10971097
}
10981098

10991099
// Delete tasks for all stages in one pass, as deleting them for each stage individually is slow
1100-
val tasks: Iterable[TaskDataWrapper] = kvstore.view(classOf[TaskDataWrapper]).asScala
1100+
val tasks = kvstore.view(classOf[TaskDataWrapper]).asScala
11011101
val keys = stages.map(s => (s.info.stageId, s.info.attemptId)).toSet
11021102
tasks.foreach { t =>
11031103
if (keys.contains((t.stageId, t.stageAttemptId))) {

0 commit comments

Comments
 (0)