What Actually Happens When You Submit a Spark Job

Most Spark tutorials teach you the API. Filter this, join that, write the result. But when something breaks at 3am and you're staring at a…