leovegas commented on code in PR #46678: URL: https://github.com/apache/spark/pull/46678#discussion_r1613014972
########## core/src/main/scala/org/apache/spark/deploy/SparkHadoopUtil.scala: ########## @@ -219,8 +220,20 @@ private[spark] class SparkHadoopUtil extends Logging { */ def listLeafStatuses(fs: FileSystem, baseStatus: FileStatus): Seq[FileStatus] = { Review Comment: Cool. Let's try to use Hadoop's listFiles instead. In that case we don't have to do extra fsHasPathCapability check (in SparkHadoopUtil.scala at least) -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org