aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorshane-huang <shengsheng.huang@intel.com>2013-09-26 12:50:10 +0800
committershane-huang <shengsheng.huang@intel.com>2013-09-26 12:50:10 +0800
commit14098037630196d2672431539503f27be67be480 (patch)
treea76a0fb78fd05836600bb60c08848b7880d63142 /core
parent1d53792a0a48695824c29274be84b74d8d6a2e6a (diff)
downloadspark-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')
-rw-r--r--core/src/main/scala/org/apache/spark/deploy/worker/ExecutorRunner.scala2
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