

Kubernetes – an open-source system for automating deployment, scaling, and management of containerized applications.Hadoop YARN – the resource manager in Hadoop 2.Apache Mesos – Mesons is a Cluster manager that can also run Hadoop MapReduce and PySpark applications.Standalone – a simple cluster manager included with Spark that makes it easy to set up a cluster.source: Cluster Manager TypesĪs of writing this Spark with Python (PySpark) tutorial, Spark supports below cluster managers: When you run a Spark application, Spark Driver creates a context that is an entry point to your application, and all operations (transformations and actions) are executed on worker nodes, and the resources are managed by Cluster Manager. PySpark natively has machine learning and graph libraries.Īpache Spark works in a master-slave architecture where the master is called “Driver” and slaves are called “Workers”.Using PySpark streaming you can also stream files from the file system and also stream from the socket.PySpark also is used to process real-time data using Streaming and Kafka.Using PySpark we can process data from Hadoop HDFS, AWS S3, and many file systems.



PySpark is a Spark library written in Python to run Python applications using Apache Spark capabilities, using PySpark we can run applications parallelly on the distributed cluster (multiple nodes). Before we jump into the PySpark tutorial, first, let’s understand what is PySpark and how it is related to Python? who uses PySpark and it’s advantages.
