Skip to content

Commit

Permalink
Fix class not found error
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewor14 committed Sep 17, 2014
1 parent 1590141 commit a0ad1e9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -361,9 +361,9 @@ private[spark] trait ClientBase extends Logging {
}
val amClass =
if (isLaunchingDriver) {
Utils.getFormattedClassName(ApplicationMaster)
Class.forName("org.apache.spark.deploy.yarn.ApplicationMaster").getName
} else {
Utils.getFormattedClassName(ExecutorLauncher)
Class.forName("org.apache.spark.deploy.yarn.ExecutorLauncher").getName
}
val userArgs = args.userArgs.flatMap { arg =>
Seq("--arg", YarnSparkHadoopUtil.escapeForShell(arg))
Expand Down

0 comments on commit a0ad1e9

Please sign in to comment.