What are the various types of shared variable in apache spark?
Answer Posted / Aman Varshney
1. Broadcast variables: Used for sending large amounts of data to each executor without duplicating it. 2. Accumulators: Used for updating a single variable across multiple tasks and actions. 3. Distributed cache: Used to share files or RDDs between the driver program and executors.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers