QuestionQ266Verified/Apache Spark Architecture and ComponentsCopy linkReport a problemAsk AstroTutorSave questionWhich of the following explains the distinction between cluster and client execution modes?AThe cluster execution mode runs the driver on a worker node within a cluster, while the client execution mode runs the driver on the client machine (also known as a gateway machine or edge node).BThe cluster execution mode is run on a local cluster, while the client execution mode is run in the cloud.CThe cluster execution mode distributes executors across worker nodes in a cluster, while the client execution mode runs a Spark job entirely on one client machine.DThe cluster execution mode runs the driver on the cluster machine (also known as a gateway machine or edge node), while the client execution mode runs the driver on a worker node within a cluster.EThe cluster execution mode distributes executors across worker nodes in a cluster, while the client execution mode submits a Spark job from a remote machine to be run on a remote, unconfigurable cluster.Show AnswerAnswerExplanationIn Apache Spark, deploy mode determines the driver’s location: cluster mode launches the driver inside the cluster (on a worker process/node), while client mode launches it in the submitting client process, such as a gateway or edge machine. Executors can still run across cluster worker nodes in either mode.Learn moreApache Spark: Cluster Mode OverviewApache Spark: Standalone ModeShow comments1Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion