unfortunately not, since YARN and the standalone cluster both support running the driver inside or outside of the cluster, so now there is a second dimension.