Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Learning Apache Spark 2

You're reading from  Learning Apache Spark 2

Product type Book
Published in Mar 2017
Publisher Packt
ISBN-13 9781785885136
Pages 356 pages
Edition 1st Edition
Languages

Table of Contents (18) Chapters

Learning Apache Spark 2
Credits
About the Author
About the Reviewers
www.packtpub.com
Customer Feedback
Preface
Architecture and Installation Transformations and Actions with Spark RDDs ETL with Spark Spark SQL Spark Streaming Machine Learning with Spark GraphX Operating in Clustered Mode Building a Recommendation System Customer Churn Prediction Theres More with Spark

Running Spark in Mesos


Mesos is an open source cluster manager started as a UC Berkley research project in 2008 and quite widely used by a number of organizations. Spark supports Mesos, and Matei Zahria has given a key note at Mesos Con in June of 2016. Here is a link to the YouTube video of the keynote: http://bit.ly/2huK1aC.

Before you start

If you haven't installed Mesos previously, the getting started page on the Apache website gives a good walk through of installing Mesos on Windows, MacOS, and Linux. Follow the URL https://mesos.apache.org/gettingstarted/.

  1. Once installed you need to start-up Mesos on your cluster
  2. Starting Mesos Master: ./bin/mesos-master.sh -ip=[MasterIP] -work-dir=/var/lib/mesos
  3. Start Mesos Agents on all your worker nodes: ./bin/mesos-agent.sh -master=[MasterIp]:5050 -work-dir=/var/lib/mesos
  4. Make sure Mesos is up and running with all your relevant worker nodes configured: http://[MasterIP]@5050

Make sure that Spark binary packages are available and accessible by Mesos....

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}