Yeah, I would use sbt too, but I thought if I wanted to publish a little reference page for OS X users then I probably should use the “official <https://github.com/apache/spark#building-spark>“ build instructions.
Nick On Mon, Oct 20, 2014 at 8:00 PM, Reynold Xin <r...@databricks.com> wrote: > I usually use SBT on Mac and that one doesn't require any setup ... > > > On Mon, Oct 20, 2014 at 4:43 PM, Nicholas Chammas < > nicholas.cham...@gmail.com> wrote: > >> If one were to put together a short but comprehensive guide to setting up >> Spark to run locally on OS X, would it look like this? >> >> # Install Maven. On OS X, we suggest using Homebrew. >> brew install maven >> # Set some important Java and Maven environment variables.export >> JAVA_HOME=$(/usr/libexec/java_home)export MAVEN_OPTS="-Xmx512m >> -XX:MaxPermSize=128m" >> # Go to where you downloaded the Spark source.cd ./spark >> # Build, configure slaves, and startup Spark. >> mvn -DskipTests clean packageecho "localhost" > ./conf/slaves >> ./sbin/start-all.sh >> # Rock 'n' Roll. >> ./bin/pyspark >> # Cleanup when you're done. >> ./sbin/stop-all.sh >> >> Nick >> >> > >