Spark Boy Mac OS
Today, Readdle released Spark for Mac, bringing its popular iOS email client to the Mac for the first time. Spark excels at bringing order to the chaos of your inbox and providing tools to help you quickly triage common types of email individually, or in bulk. But perhaps the greatest benefit of Spark for Mac is that it’s a solid free solution for fans of the iOS version of the app who felt constrained by the lack of a macOS version. The new version (2.5) of Spark, TC Works’ audio processing application, is shipping and has Mac OS X support and improved editing features. Spark is a powerful, and easy Shortcuts manager. With Spark you can create Hot Keys to launch applications and documents, execute AppleScript, command iTunes, and more. You can also export.
Spark is an in-memory open source cluster computing system allowing for fast iterative and interactive analytics. Spark utilizes Scala – a type-safe objected oriented language with functional properties that is fully interoperable with Java. For more information about Spark, please refer to http://spark-project.org. To test out Spark, you can install the stand-alone version on Mac OSX.
Install Scala 2.9.2
Spark Boy Mac Os Download
The first thing you will need to do is to install Scala 2.9.2 as Spark 0.6.1 is dependent on it. As of this posting, the current version of Scala is 2.10 but there are some issues with Spark 0.6.1 and Scala 2.10 as noted in this thread.
1) A handy way to installing Scala is to use Home Brew; please reference Installing Hadoop on OSX Lion (10.7) for more information on how to use Home Brew as well installing Hadoop on Mac OSX. It may be handy to install Hadoop so that way you can use Spark against HDFS as well.
2) The current Home Brew scala formula installs Scala 2.10 but you will need to use Scala 2.9.2. A quick way to do to this is to modify the scala.rb formula (/usr/local/Library/Formula/scala.rb) to install Scala 2.9.2.
3) Installing Scala via HomeBrew by typing the command in a bash terminal:
Upon running this command, scala will be located in /usr/local/Cellar/scala
Install Git Command Line for Mac
Ensure you have Git for Mac installed (even if you have GitHub for Mac installed; need to install Git so you can run from the command line)
Ensure you have set the JAVA_HOME and SCALA_HOME variables
In my case, I have configured my .profile with the following:
Installing Spark 0.6.1
1) Obtain the pre-built Spark 0.6.1 package at http://spark-project.org/downloads/. The direct link for the prebuilt package is:
http://github.com/downloads/mesos/spark/spark-0.6.1-prebuilt.tgz
2) Open up the tgz file and place it into a folder where you will install Spark. For example, I placed mine in the HomeBrew Cellar location, i.e.
/usr/local/Cellar/spark-0.6.1
Configure and Build Spark 0.6.1
Spark Boy Mac Os Catalina
Follow the instructions as per the README.MD in /usr/local/Cellar/spark-0.6.1
1) Run the Simple Build Tool (SBT) package from /usr/local/Cellar/spark-0.6.1
2) Modify the conf/spark-env.sh
Ensure that SCALA_HOME variable has been set
Running Spark 0.6.1
From here, you can now run Spark examples. Just in case, run the conf/spark-env.sh to set the Scala enviornment variables.
and to run the spark shell:
where local indicates standalone (vs. EC2, cluster, mesos, etc.) and [x] is the number of cores.
Enjoy!
If you are running Mac OS X 10.8 Mountain Lion, you will need to temporarily turn off Gatekeeper to run Sparkbooth. Here is what you need to do:
- Go to System Preferences
- Select 'Security and Privacy'
- Change 'Allow applications downloaded from' to 'Anywhere'. You can switch it back after running Sparkbooth for the first time.
- Install Adobe AIR 3.1 or later from http://get.adobe.com/air
- Install Sparkbooth from download page
- And that is it!
Note: On some Macs, you will need to disable 'Automatic Graphics Switching' under 'Energy Saver' in System Preferences for Adobe AIR to run correctly.