HyukjinKwon commented on code in PR #43936: URL: https://github.com/apache/spark/pull/43936#discussion_r1401443129
########## core/src/main/scala/org/apache/spark/SparkContext.scala: ########## @@ -1836,7 +1836,7 @@ class SparkContext(config: SparkConf) extends Logging { val uriToUse = if (!isLocal && scheme == "file") uri else new URI(key) val uriToDownload = UriBuilder.fromUri(uriToUse).fragment(null).build() val source = Utils.fetchFile(uriToDownload.toString, Utils.createTempDir(), conf, - hadoopConfiguration, timestamp, useCache = false, shouldUntar = false) + hadoopConfiguration, timestamp, useCache = true, shouldUntar = false) Review Comment: We don't need this archive file under root directory - the archive file itself is removed. we only need the unpacked directory -- 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