QuestionQ175Verified/Apache Spark Architecture and ComponentsCopy linkReport a problemAsk AstroTutorSave questionGiven this code snippet in my_spark_app.py: What role does the driver node perform?AThe driver node orchestrates the execution by transforming actions into tasks and distributing them to worker nodes.BThe driver node only provides the user interface for monitoring the application.CThe driver node holds the DataFrame data and performs all computations locally.DThe driver node stores the final result after computations are completed by worker nodes.Show AnswerAnswerExplanationThe driver runs the application’s main program, coordinates execution, and schedules tasks on executors located on worker nodes. Spark actions initiate jobs that are divided into tasks for executor processes; executors perform the distributed computation and store application data as needed.Learn moreApache Spark — Cluster Mode OverviewShow comments0Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion