scenario #1 uses a configuration with only 1 executor. If the worker node running that executor fails, the entire application will fail because there are no other executors available to continue processing the tasks.
Spark needs redundancy across multiple worker nodes or executors to tolerate node failures. Since this configuration has only one executor, it lacks fault tolerance.
upvoted 3 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Oks_An
2 months ago