Skip to content

Commit

Permalink
[SPARK-7162] [YARN] Launcher error in yarn-client
Browse files Browse the repository at this point in the history
jira: https://issues.apache.org/jira/browse/SPARK-7162

Author: GuoQiang Li <witgo@qq.com>

Closes apache#5716 from witgo/SPARK-7162 and squashes the following commits:

b64564c [GuoQiang Li] Launcher error in yarn-client
  • Loading branch information
witgo authored and liuchuanqi committed May 13, 2015
1 parent dcecd3b commit 1bab377
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 1bab377

Please sign in to comment.