Skip to content

Commit

Permalink
Hopefully fix the last two cases
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshRosen committed Jul 13, 2015
1 parent d707ba7 commit c0b7885
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala
Original file line number Diff line number Diff line change
Expand Up @@ -732,9 +732,9 @@ private[spark] class Client(
}
val amClass =
if (isClusterMode) {
Class.forName("org.apache.spark.deploy.yarn.ApplicationMaster").getName
Utils.classForName("org.apache.spark.deploy.yarn.ApplicationMaster").getName
} else {
Class.forName("org.apache.spark.deploy.yarn.ExecutorLauncher").getName
Utils.classForName("org.apache.spark.deploy.yarn.ExecutorLauncher").getName
}
if (args.primaryRFile != null && args.primaryRFile.endsWith(".R")) {
args.userArgs = ArrayBuffer(args.primaryRFile) ++ args.userArgs
Expand Down

0 comments on commit c0b7885

Please sign in to comment.