LuciferYang commented on code in PR #36237:
URL: https://github.com/apache/spark/pull/36237#discussion_r860455377


##########
core/src/main/scala/org/apache/spark/status/AppStatusStore.scala:
##########
@@ -757,7 +767,7 @@ private[spark] class AppStatusStore(
         executorLogs,
         AppStatusUtils.schedulerDelay(taskDataOld),
         AppStatusUtils.gettingResultTime(taskDataOld))
-    }.toSeq
+    }.toList

Review Comment:
   This change is to make `HistoryServerSuite` passed,  `toSeq` causes 
`LevelDB/RocksDBIterator` close in advance, while 'toList' does not. 
   
   
[de2862e](https://github.com/apache/spark/pull/36237/commits/de2862ec2fd1caec1c74b092510982b287795b58)
 try to fixed the issue in a different way
   
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to