diff options
author | root <root@ip-10-202-143-64.ec2.internal> | 2010-08-13 07:39:36 +0000 |
---|---|---|
committer | root <root@ip-10-202-143-64.ec2.internal> | 2010-08-13 07:39:36 +0000 |
commit | a9481c3514b33389de7a7db5e5c0ac8291c11f1c (patch) | |
tree | 31340add56bd9c7437f18ef41d07ec856ce88dfa /run | |
parent | 4488b3bc8a4483eeeb703d96842ea3e9695300c3 (diff) | |
download | spark-a9481c3514b33389de7a7db5e5c0ac8291c11f1c.tar.gz spark-a9481c3514b33389de7a7db5e5c0ac8291c11f1c.tar.bz2 spark-a9481c3514b33389de7a7db5e5c0ac8291c11f1c.zip |
Update to work with latest Mesos API changes
Diffstat (limited to 'run')
-rwxr-xr-x | run | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -8,7 +8,12 @@ if [ -e $FWDIR/conf/spark-env.sh ] ; then . $FWDIR/conf/spark-env.sh fi -if [ "$SPARK_MEM" == "" ] ; then +if [ "x$MESOS_HOME" != "x" ] ; then + SPARK_CLASSPATH="$MESOS_HOME/lib/java/mesos.jar:$SPARK_CLASSPATH" + SPARK_LIBRARY_PATH="$MESOS_HOME/lib/java:$SPARK_LIBARY_PATH" +fi + +if [ "x$SPARK_MEM" == "x" ] ; then SPARK_MEM="300m" fi |