Skip to content

Commit

Permalink
Launcher error in yarn-client
Browse files Browse the repository at this point in the history
  • Loading branch information
witgo committed Apr 27, 2015
1 parent 82bb7fd commit b64564c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ private[spark] class Client(
val dir = new File(path)
if (dir.isDirectory()) {
dir.listFiles().foreach { file =>
if (!hadoopConfFiles.contains(file.getName())) {
if (file.isFile && !hadoopConfFiles.contains(file.getName())) {
hadoopConfFiles(file.getName()) = file
}
}
Expand Down

0 comments on commit b64564c

Please sign in to comment.