Maven is at least built in to OS X (well, with dev tools). You don't
even have to brew install it. Surely SBT isn't in the dev tools even?
I recall I had to install it. I'd be surprised to hear it required
zero setup.

On Mon, Oct 20, 2014 at 8:04 PM, Nicholas Chammas
<nicholas.cham...@gmail.com> wrote:
> 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
>>>
>>>
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@spark.apache.org
For additional commands, e-mail: dev-h...@spark.apache.org

Reply via email to