Amazon Announces Support for Spark, Shark, Mesos on Elastic MapReduce recently announced support for Mesos, Spark, and Shark on Elastic MapReduce. Check it out to find instructions for setting up a Mesos/Spark/Shark cluster on EMR. A quote from the post itself:

In this article, we’ll explain how to install Shark and Spark on a cluster managed by Amazon EMR. By combining these technologies, you’ll be able to enjoy the speed enhancements of the Shark data warehouse as well as the operational and financial advantages of running your cluster on Amazon EMR.