We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab5adb7 commit 62888a4Copy full SHA for 62888a4
yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala
@@ -354,7 +354,7 @@ private[spark] class Client(
354
val dir = new File(path)
355
if (dir.isDirectory()) {
356
dir.listFiles().foreach { file =>
357
- if (!hadoopConfFiles.contains(file.getName())) {
+ if (file.isFile && !hadoopConfFiles.contains(file.getName())) {
358
hadoopConfFiles(file.getName()) = file
359
}
360
0 commit comments