Spark on YARN architecture