concept Mesos in category spark

This is an excerpt from Manning's book Spark in Action, Second Edition.
Basically, the cluster manager allocates resources across applications. However, to run on a cluster, the
SparkSessioncan connect to several types of cluster managers. This might be dictated from your infrastructure, enterprise architects, or know-it-all guru. You may not have a choice here. Chapter 18 discusses more cluster manager options, including YARN, Mesos, and Kubernetes.
Although it might not directly impact your Spark application, Mesos also supports Docker containers, making Mesos a more flexible solution for managing most types of workloads. Figure 18.4 illustrates the architecture combining Apache Spark with Apache Mesos.
To learn more about implementing Mesos for Spark, read the online documentation at http://mng.bz/rPXZ . You can find more about Mesos in Roger Ignazio’s Mesos in Action (Manning, 2016, https://livebook.manning.comhttps://livebook.manning.com/book/mesos-in-action ). Manning also offers numerous resources on Docker, including Docker in Action by Jeff Nickoloff and Stephen Kuenzli (Manning, 2019, https://livebook.manning.com/ book/docker-in-action-second-edition ).
Mesos is an independent resource and cluster manager, with its own life cycle and dependencies. Unlike YARN, Mesos is not linked to Hadoop. Mesos has more features, including dynamic allocation or support for Docker containers.