diff options
author | shane-huang <shengsheng.huang@intel.com> | 2013-09-26 12:50:10 +0800 |
---|---|---|
committer | shane-huang <shengsheng.huang@intel.com> | 2013-09-26 12:50:10 +0800 |
commit | 14098037630196d2672431539503f27be67be480 (patch) | |
tree | a76a0fb78fd05836600bb60c08848b7880d63142 /core/src | |
parent | 1d53792a0a48695824c29274be84b74d8d6a2e6a (diff) | |
download | spark-14098037630196d2672431539503f27be67be480.tar.gz spark-14098037630196d2672431539503f27be67be480.tar.bz2 spark-14098037630196d2672431539503f27be67be480.zip |
fix path
Signed-off-by: shane-huang <shengsheng.huang@intel.com>
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/main/scala/org/apache/spark/deploy/worker/ExecutorRunner.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/scala/org/apache/spark/deploy/worker/ExecutorRunner.scala b/core/src/main/scala/org/apache/spark/deploy/worker/ExecutorRunner.scala index e3dc30eefc..d48545ecc1 100644 --- a/core/src/main/scala/org/apache/spark/deploy/worker/ExecutorRunner.scala +++ b/core/src/main/scala/org/apache/spark/deploy/worker/ExecutorRunner.scala @@ -120,7 +120,7 @@ private[spark] class ExecutorRunner( // Figure out our classpath with the external compute-classpath script val ext = if (System.getProperty("os.name").startsWith("Windows")) ".cmd" else ".sh" val classPath = Utils.executeAndGetOutput( - Seq(sparkHome + "/bin/compute-classpath" + ext), + Seq(sparkHome + "/sbin/compute-classpath" + ext), extraEnvironment=appDesc.command.environment) Seq("-cp", classPath) ++ libraryOpts ++ workerLocalOpts ++ userOpts ++ memoryOpts |