You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2011/06/05 07:27:49 UTC
svn commit: r1131771 -
/incubator/mesos/trunk/src/ec2/deploy.lucid64/root/nexus-ec2/setup
Author: benh
Date: Sun Jun 5 05:27:49 2011
New Revision: 1131771
URL: http://svn.apache.org/viewvc?rev=1131771&view=rev
Log:
Updated Spark location in setup scripts to work with new AMI.
Modified:
incubator/mesos/trunk/src/ec2/deploy.lucid64/root/nexus-ec2/setup
Modified: incubator/mesos/trunk/src/ec2/deploy.lucid64/root/nexus-ec2/setup
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/src/ec2/deploy.lucid64/root/nexus-ec2/setup?rev=1131771&r1=1131770&r2=1131771&view=diff
==============================================================================
--- incubator/mesos/trunk/src/ec2/deploy.lucid64/root/nexus-ec2/setup (original)
+++ incubator/mesos/trunk/src/ec2/deploy.lucid64/root/nexus-ec2/setup Sun Jun 5 05:27:49 2011
@@ -117,9 +117,9 @@ if [[ "$DOWNLOADED" == "1" ]] ; then
make clean
make
popd > /dev/null 2>&1
- if [ -d /root/nexus/frameworks/spark ] ; then
+ if [ -d /root/spark ] ; then
echo "Building Spark..."
- pushd /root/nexus/frameworks/spark > /dev/null 2>&1
+ pushd /root/spark > /dev/null 2>&1
make all native
popd > /dev/null 2>&1
fi
@@ -137,9 +137,9 @@ echo "Setting up haproxy+apache framewor
cp haproxy+apache/* /root/nexus/frameworks/haproxy+apache
echo "Setting up Spark config files..."
-mkdir -p /root/nexus/frameworks/spark/conf
-echo "-Dspark.dfs=hdfs://$HOSTNAME:9000 -Djava.io.tmpdir=/nfs" \
- > /root/nexus/frameworks/spark/conf/java-opts
+mkdir -p /root/spark/conf
+echo "-Dspark.dfs=hdfs://$HOSTNAME:9000 -Dspark.repl.classdir=/nfs" \
+ > /root/spark/conf/java-opts
echo "Redeploying /root/nexus..."
./redeploy-nexus