Skip to content

Commit 03ed3a8

Browse files
committed
rename cache file name as XXXXXXXXX_cache
1 parent 2766055 commit 03ed3a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/util/Utils.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ private[spark] object Utils extends Logging {
333333
val fileName = url.split("/").last
334334
val targetFile = new File(targetDir, fileName)
335335
if (useCache) {
336-
val cachedFileName = url.hashCode + timestamp + "_cach"
336+
val cachedFileName = url.hashCode + timestamp + "_cache"
337337
val lockFileName = url.hashCode + timestamp + "_lock"
338338
val localDir = new File(getLocalDir(conf))
339339
val lockFile = new File(localDir, lockFileName)

0 commit comments

Comments
 (0)